Package ch.hortis.sonar.core.service

Examples of ch.hortis.sonar.core.service.SnapshotProcessor.process()


  }

  protected void processGroup(SnapshotGroup group) throws Throwable {
    // each snapshots of the group will be processed within their own transaction
    SnapshotProcessor snapshotProcessor = new TransactionalSnapshotProcessor(getEntityManager(), getTaskServices());
    snapshotProcessor.process(group.getRootSnapshot());
    getEntityManager().getTransaction().begin();
    try {
      group.setProcessed(true);
      Query query = getEntityManager().createQuery("SELECT g FROM SnapshotGroup g WHERE g.mavenProject = :project AND g.last=true AND g.processed=true");
      query.setParameter("project", group.getMavenProject());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.