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

kenneth_suter
13.14.2007 7d9892ab753507184214ae2fce6d2ade21628159
opendj-sdk/opends/src/server/org/opends/server/backends/task/FailedDependencyAction.java
@@ -26,6 +26,8 @@
 */
package org.opends.server.backends.task;
import org.opends.messages.Message;
import org.opends.messages.TaskMessages;
/**
@@ -39,14 +41,14 @@
   * The action that indicates that the dependent task should be processed
   * anyway.
   */
  PROCESS,
  PROCESS(TaskMessages.INFO_FAILED_DEPENDENCY_ACTION_PROCESS.get()),
  /**
   * The action that indicates that the dependent task should be canceled.
   */
  CANCEL,
  CANCEL(TaskMessages.INFO_FAILED_DEPENDENCY_ACTION_CANCEL.get()),
@@ -54,7 +56,7 @@
   * The action that indicates that the dependent task should be disabled so
   * that an administrator will have to re-enable it before it can start.
   */
  DISABLE;
  DISABLE(TaskMessages.INFO_FAILED_DEPENDENCY_ACTION_DISABLE.get());
@@ -88,5 +90,20 @@
      return null;
    }
  }
  private Message name;
  /**
   * Gets the display name of this action.
   *
   * @return Message representing the name of this action
   */
  public Message getDisplayName() {
    return name;
  }
  private FailedDependencyAction(Message name) {
    this.name = name;
  }
}