Enum Class WorkflowVisibility

java.lang.Object
java.lang.Enum<WorkflowVisibility>
com.comalatech.workflow.model.WorkflowVisibility
All Implemented Interfaces:
Serializable, Comparable<WorkflowVisibility>, Constable

public enum WorkflowVisibility extends Enum<WorkflowVisibility>
Represents Workflow Visibility setting options
  • Enum Constant Details

    • DEFAULT

      public static final WorkflowVisibility DEFAULT
      For space level that is just defaulting to use what is set at global admin level
    • CONTRIBUTORS

      public static final WorkflowVisibility CONTRIBUTORS
      Only space administrators and page editors can view page workflow elements
    • ANY

      public static final WorkflowVisibility ANY
      Any user can view page workflow elements
  • Method Details

    • values

      public static WorkflowVisibility[] 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 WorkflowVisibility 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