Package com.atlassian.jira.bc.workflow
Enum Class WorkflowService.WorkflowPermission
java.lang.Object
java.lang.Enum<WorkflowService.WorkflowPermission>
com.atlassian.jira.bc.workflow.WorkflowService.WorkflowPermission
- All Implemented Interfaces:
Serializable,Comparable<WorkflowService.WorkflowPermission>,Constable
- Enclosing interface:
- WorkflowService
public static enum WorkflowService.WorkflowPermission
extends Enum<WorkflowService.WorkflowPermission>
Enum specifying whether workflow is editable or not.
In case it is not editable JIRA can specify why exactly it is not editable
for given user / context.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWorkflow is editable by current user.Workflow is not editable because of insufficient permissions.Workflow is not editable because of some other constraints.Workflow is not editable because it is shared with other projects.Workflow is not editable because of being default system workflow -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WorkflowService.WorkflowPermission[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EDITABLE
Workflow is editable by current user. -
SHARED
Workflow is not editable because it is shared with other projects. -
NO_PERMISSION
Workflow is not editable because of insufficient permissions. -
NOT_EDITABLE
Workflow is not editable because of some other constraints. -
SYSTEM_WORKFLOW
Workflow is not editable because of being default system workflow
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-