Enum Class TaskMoveResult

java.lang.Object
java.lang.Enum<TaskMoveResult>
org.exoplatform.processes.constant.TaskMoveResult
All Implemented Interfaces:
Serializable, Comparable<TaskMoveResult>, Constable

public enum TaskMoveResult extends Enum<TaskMoveResult>
What the move of one request's task to its process's project did.
  • Enum Constant Details

    • MOVED

      public static final TaskMoveResult MOVED
      The task was moved to the project
    • IN_PROJECT

      public static final TaskMoveResult IN_PROJECT
      The task already was in the project: nothing was written
    • NOT_FOUND

      public static final TaskMoveResult NOT_FOUND
      The task no longer exists
  • Method Details

    • values

      public static TaskMoveResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TaskMoveResult valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null