示例#1
0
 /**
  * Holds execution until all tasks of a given type stop running
  *
  * @param taskClass task type
  */
 public static void waitForAllTasksToStop(Class<? extends NexusTask<?>> taskClass)
     throws Exception {
   nexusTasksRestClient.waitForAllTasksToStop(taskClass);
 }
示例#2
0
 /**
  * Holds execution until all tasks of a given type stop running
  *
  * @param taskType task type
  */
 public static void waitForAllTasksToStop(String taskType) throws Exception {
   nexusTasksRestClient.waitForAllTasksToStop(taskType);
 }
示例#3
0
 /**
  * Holds execution until all tasks of a given type stop running
  *
  * @param maxAttempts how many times check for tasks being stopped
  */
 public static void waitForAllTasksToStop(int maxAttempts) throws Exception {
   nexusTasksRestClient.waitForAllTasksToStop(maxAttempts);
 }
示例#4
0
 /** Holds execution until all tasks stop running */
 public static void waitForAllTasksToStop() throws Exception {
   nexusTasksRestClient.waitForAllTasksToStop();
 }