com.atlassian.jira.webtest.framework.model
Enum DefaultIssueActions

java.lang.Object
  extended by java.lang.Enum<DefaultIssueActions>
      extended by com.atlassian.jira.webtest.framework.model.DefaultIssueActions
All Implemented Interfaces:
IssueOperation, Serializable, Comparable<DefaultIssueActions>

public enum DefaultIssueActions
extends Enum<DefaultIssueActions>
implements IssueOperation

Enumeration of default issue actions

Since:
v4.3

Enum Constant Summary
ATTACH_FILES
           
COMMENT
           
CONVERT_TO_SUBTASK
           
CREATE_SUBTASK
           
EDIT
           
EDIT_LABELS
           
LINK_ISSUE
           
LOG_WORK
           
MOVE
           
 
Method Summary
 String cssClass()
          CSS class of the operation.
 boolean hasShortcut()
          whether or not this action has a shortcut associated with it.
 String id()
          Unique ID of the action used in the UI.
 com.atlassian.webtest.ui.keys.KeySequence shortcut()
          Shortcut of this action (if any).
 String uiName()
          UI-visible name of the operation
static DefaultIssueActions valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DefaultIssueActions[] 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

EDIT

public static final DefaultIssueActions EDIT

COMMENT

public static final DefaultIssueActions COMMENT

LOG_WORK

public static final DefaultIssueActions LOG_WORK

ATTACH_FILES

public static final DefaultIssueActions ATTACH_FILES

CREATE_SUBTASK

public static final DefaultIssueActions CREATE_SUBTASK

CONVERT_TO_SUBTASK

public static final DefaultIssueActions CONVERT_TO_SUBTASK

MOVE

public static final DefaultIssueActions MOVE

LINK_ISSUE

public static final DefaultIssueActions LINK_ISSUE

EDIT_LABELS

public static final DefaultIssueActions EDIT_LABELS
Method Detail

values

public static DefaultIssueActions[] 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 (DefaultIssueActions c : DefaultIssueActions.values())
    System.out.println(c);

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

valueOf

public static DefaultIssueActions 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

id

public String id()
Description copied from interface: IssueOperation
Unique ID of the action used in the UI.

Specified by:
id in interface IssueOperation
Returns:
ID of the issue operation

uiName

public String uiName()
Description copied from interface: IssueOperation
UI-visible name of the operation

Specified by:
uiName in interface IssueOperation
Returns:
name of the operation

cssClass

public String cssClass()
Description copied from interface: IssueOperation
CSS class of the operation.

Specified by:
cssClass in interface IssueOperation
Returns:
unique CSS class of the operation

hasShortcut

public boolean hasShortcut()
Description copied from interface: IssueOperation
whether or not this action has a shortcut associated with it.

Specified by:
hasShortcut in interface IssueOperation
Returns:
true, if this action has a keyboard shortcut

shortcut

public com.atlassian.webtest.ui.keys.KeySequence shortcut()
Description copied from interface: IssueOperation
Shortcut of this action (if any).

Specified by:
shortcut in interface IssueOperation
Returns:
keyboard shortcut associated with this issue operation
See Also:
IssueOperation.hasShortcut()


Copyright © 2002-2013 Atlassian. All Rights Reserved.