mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
24.11.2015 8d21db36015f8560d9cd2bcee9817f2c0a07a386
opendj-server-legacy/src/main/java/org/opends/server/tools/tasks/TaskTool.java
@@ -86,19 +86,22 @@
   */
  private static final int RUN_ONLINE = 52;
  // Number of milliseconds this utility will wait before reloading
  // this task's entry in the directory while it is polling for status
  /**
   * Number of milliseconds this utility will wait before reloading
   * this task's entry in the directory while it is polling for status.
   */
  private static final int SYNCHRONOUS_TASK_POLL_INTERVAL = 1000;
  private LDAPConnectionArgumentParser argParser;
  private TaskScheduleArgs taskScheduleArgs;
  // Argument used to know whether we must test if we must run in off-line
  // mode.
  /**
   * Argument used to know whether we must test if we must run in off-line mode.
   */
  private BooleanArgument testIfOfflineArg;
  // This CLI is always using the administration connector with SSL
  /** This CLI is always using the administration connector with SSL. */
  private static final boolean alwaysSSL = true;
  /**
@@ -187,49 +190,37 @@
    }
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public Date getStartDateTime() {
    return taskScheduleArgs.getStartDateTime();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public String getRecurringDateTime() {
    return taskScheduleArgs.getRecurringDateTime();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public List<String> getDependencyIds() {
    return taskScheduleArgs.getDependencyIds();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public FailedDependencyAction getFailedDependencyAction() {
    return taskScheduleArgs.getFailedDependencyAction();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public List<String> getNotifyUponCompletionEmailAddresses() {
    return taskScheduleArgs.getNotifyUponCompletionEmailAddresses();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public List<String> getNotifyUponErrorEmailAddresses() {
    return taskScheduleArgs.getNotifyUponErrorEmailAddresses();