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

abobrov
15.07.2008 2273c26793fe6e3abfd90a400823e8e46b3303bb
opends/src/server/org/opends/server/tasks/BackupTask.java
@@ -147,6 +147,7 @@
  /**
   * {@inheritDoc}
   */
  @Override
  public Message getDisplayName() {
    return INFO_TASK_BACKUP_NAME.get();
  }
@@ -154,6 +155,7 @@
  /**
   * {@inheritDoc}
   */
  @Override
  public Message getAttributeDisplayName(String attrName) {
    return argDisplayMap.get(attrName);
  }
@@ -284,6 +286,12 @@
    }
    // Use task id for backup id in case of recurring task.
    if (super.isRecurring()) {
      backupID = super.getTaskID();
    }
    // If no backup ID was provided, then create one with the current timestamp.
    if (backupID == null)
    {
@@ -575,6 +583,7 @@
  /**
   * {@inheritDoc}
   */
  @Override
  public void interruptTask(TaskState interruptState, Message interruptReason)
  {
    if (TaskState.STOPPED_BY_ADMINISTRATOR.equals(interruptState) &&
@@ -591,6 +600,7 @@
  /**
   * {@inheritDoc}
   */
  @Override
  public boolean isInterruptable() {
    return true;
  }