com.atlassian.jira.pageobjects.model
Class WorkflowIssueAction

java.lang.Object
  extended by com.atlassian.jira.pageobjects.model.WorkflowIssueAction
All Implemented Interfaces:
IssueOperation

public class WorkflowIssueAction
extends Object
implements IssueOperation

Represents built-in and custom JIRA workflow transitions that are executed as actions in the UI.

Since:
v4.3

Field Summary
static WorkflowIssueAction CLOSE_ISSUE
           
 
Constructor Summary
WorkflowIssueAction(long workflowActionId, String uiName)
           
 
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.
 CharSequence shortcut()
          Shortcut of this action (if any).
 String toString()
           
 String uiName()
          UI-visible name of the operation
 long workflowActionId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLOSE_ISSUE

public static WorkflowIssueAction CLOSE_ISSUE
Constructor Detail

WorkflowIssueAction

public WorkflowIssueAction(long workflowActionId,
                           String uiName)
Method Detail

workflowActionId

public long workflowActionId()

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 CharSequence shortcut()
Description copied from interface: IssueOperation
Shortcut of this action (if any). It must be compatible with the WebElement.sendKeys(CharSequence...) and com.atlassian.pageobjects.framework.element.PageElement#type(CharSequence...) methods.

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.