Examples of run()


Examples of org.gradle.GradleLauncher.run()

        GradleLauncher gradleLauncher = GradleLauncher.newInstance(parameter);
        gradleLauncher.addListener(listener);
        gradleLauncher.addStandardOutputListener(outputListener);
        gradleLauncher.addStandardErrorListener(errorListener);
        try {
            return gradleLauncher.run();
        } finally {
            System.clearProperty("test.single");
        }
    }
View Full Code Here

Examples of org.gradle.initialization.GradleLauncher.run()

    @TaskAction
    void build() {
        GradleLauncher launcher = gradleLauncherFactory.newInstance(getStartParameter(), cancellationToken);
        try {
            launcher.run().rethrowFailure();
        } finally {
            launcher.stop();
        }
    }
}
View Full Code Here

Examples of org.gradle.tooling.BuildLauncher.run()

            // if you want to listen to the progress events:
            ProgressListener listener = null; // use your implementation

            // kick the build off:
            build.run();
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
View Full Code Here

Examples of org.graylog2.plugin.periodical.Periodical.run()

                throw new NullPointerException();
            }
        };

        try {
            periodical1.run();
            // the uncaught exception from doRun should have been logged
            verify(logger, atLeastOnce()).error(anyString(), any(Throwable.class));
        } catch (Exception e) {
            fail("run() should never propagate an unchecked exception!", e);
        }
View Full Code Here

Examples of org.grouplens.lenskit.util.io.LoggingStreamSlurper.run()

        } catch (IOException e) {
            throw new RecommenderBuildException("error creating process", e);
        }
        Thread listen = new LoggingStreamSlurper("external-algo", proc.getErrorStream(),
                                                 logger, "external: ");
        listen.run();

        int result = -1;
        boolean done = false;
        while (!done) {
            try {
View Full Code Here

Examples of org.gudy.azureus2.core3.util.TimeLimitedTask.run()

              throw new SearchException(e);
            }
          }
        });
     
      Result[] res = (Result[])task.run();
     
      debugLog( "success: found " + res.length + " results" );
     
      return( res );
     
View Full Code Here

Examples of org.hibernate.ogm.massindex.batchindexing.BatchCoordinator.run()

  }

  @Override
  public void startAndWait() throws InterruptedException {
    BatchCoordinator coordinator = createCoordinator();
    coordinator.run();
  }

  protected BatchCoordinator createCoordinator() {
    return new BatchCoordinator( gridDialect, rootEntities, searchFactory, sessionFactory, typesToIndexInParallel, cacheMode, optimizeOnFinish,
        purgeAllOnStart, optimizeAfterPurge, monitor );
View Full Code Here

Examples of org.hibernate.search.batchindexing.BatchCoordinator.run()

    }
  }

  public void startAndWait() throws InterruptedException {
    BatchCoordinator coordinator = createCoordinator();
    coordinator.run();
    if ( Thread.currentThread().isInterrupted() ) {
      throw new InterruptedException();
    }
  }
View Full Code Here

Examples of org.hibernate.search.batchindexing.impl.BatchCoordinator.run()

  }

  @Override
  public void startAndWait() throws InterruptedException {
    BatchCoordinator coordinator = createCoordinator();
    coordinator.run();
    if ( Thread.currentThread().isInterrupted() ) {
      throw new InterruptedException();
    }
  }
View Full Code Here

Examples of org.hibernate.validation.util.ContainsField.run()

      ContainsField containsAction = ContainsField.action( beanClass, fieldName );
      if ( System.getSecurityManager() != null ) {
        containsField = AccessController.doPrivileged( containsAction );
      }
      else {
        containsField = containsAction.run();
      }
      if ( !containsField ) {
        throw new ValidationException( beanClass.getName() + " does not contain the fieldType  " + fieldName );
      }
      GetDeclaredField action = GetDeclaredField.action( beanClass, fieldName );
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.