com.atlassian.jira.projectconfig.workflow
Enum IssueTypeConfigWorkflowHelper.WorkflowState

java.lang.Object
  extended by java.lang.Enum<IssueTypeConfigWorkflowHelper.WorkflowState>
      extended by com.atlassian.jira.projectconfig.workflow.IssueTypeConfigWorkflowHelper.WorkflowState
All Implemented Interfaces:
Serializable, Comparable<IssueTypeConfigWorkflowHelper.WorkflowState>
Enclosing interface:
IssueTypeConfigWorkflowHelper

public static enum IssueTypeConfigWorkflowHelper.WorkflowState
extends Enum<IssueTypeConfigWorkflowHelper.WorkflowState>

Represents the state of a workflow associated with a project.


Enum Constant Summary
EDITABLE
          The workflow is editable.
MIGRATE
          The workflow will be editable after a migration.
NO_PERMISSION
          The user does not have permission to edit the workflow.
READ_ONLY
          The workflow is not editable.
 
Method Summary
 String simpleName()
          Return a non-java constant simple name for the value.
static IssueTypeConfigWorkflowHelper.WorkflowState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IssueTypeConfigWorkflowHelper.WorkflowState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_PERMISSION

public static final IssueTypeConfigWorkflowHelper.WorkflowState NO_PERMISSION
The user does not have permission to edit the workflow.


READ_ONLY

public static final IssueTypeConfigWorkflowHelper.WorkflowState READ_ONLY
The workflow is not editable.


EDITABLE

public static final IssueTypeConfigWorkflowHelper.WorkflowState EDITABLE
The workflow is editable.


MIGRATE

public static final IssueTypeConfigWorkflowHelper.WorkflowState MIGRATE
The workflow will be editable after a migration.

Method Detail

values

public static IssueTypeConfigWorkflowHelper.WorkflowState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IssueTypeConfigWorkflowHelper.WorkflowState c : IssueTypeConfigWorkflowHelper.WorkflowState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IssueTypeConfigWorkflowHelper.WorkflowState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

simpleName

public String simpleName()
Return a non-java constant simple name for the value.

Returns:
a non-java constant simple name for the value.


Copyright © 2002-2014 Atlassian. All Rights Reserved.