com.atlassian.jira.pageobjects.components.menu
Enum IssueActions

java.lang.Object
  extended by java.lang.Enum<IssueActions>
      extended by com.atlassian.jira.pageobjects.components.menu.IssueActions
All Implemented Interfaces:
Serializable, Comparable<IssueActions>

public enum IssueActions
extends Enum<IssueActions>

An enum representing all the different actions that can be performed on an issue

Since:
5.0

Enum Constant Summary
ASSIGN_ISSUE
           
ASSIGN_TO_ME
           
CLOSE_ISSUE
           
COMMENT
           
CREATE_SUBTASK
           
DELETE
           
EDIT_ISSUE
           
LABELS
           
RESOLVE_ISSUE
           
START_PROGRESS
           
START_WATCHING
           
STOP_PROGRESS
           
STOP_WATCHING
           
 
Method Summary
 String getLabel()
          Gets label
 org.openqa.selenium.By getSelector()
          Gets selector
 CharSequence[] getShortcut()
          Gets keyboard shortcut for the action
static IssueActions valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IssueActions[] 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

ASSIGN_ISSUE

public static final IssueActions ASSIGN_ISSUE

ASSIGN_TO_ME

public static final IssueActions ASSIGN_TO_ME

CLOSE_ISSUE

public static final IssueActions CLOSE_ISSUE

RESOLVE_ISSUE

public static final IssueActions RESOLVE_ISSUE

START_PROGRESS

public static final IssueActions START_PROGRESS

STOP_PROGRESS

public static final IssueActions STOP_PROGRESS

CREATE_SUBTASK

public static final IssueActions CREATE_SUBTASK

EDIT_ISSUE

public static final IssueActions EDIT_ISSUE

LABELS

public static final IssueActions LABELS

COMMENT

public static final IssueActions COMMENT

START_WATCHING

public static final IssueActions START_WATCHING

STOP_WATCHING

public static final IssueActions STOP_WATCHING

DELETE

public static final IssueActions DELETE
Method Detail

values

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

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

valueOf

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

getSelector

public org.openqa.selenium.By getSelector()
Gets selector

Returns:
selector

getLabel

public String getLabel()
Gets label

Returns:
label

getShortcut

public CharSequence[] getShortcut()
Gets keyboard shortcut for the action

Returns:
keyboard shortcut for the action


Copyright © 2002-2012 Atlassian. All Rights Reserved.