com.atlassian.jira.webtest.framework.model
Class WorkflowIssueAction

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.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

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.
 com.atlassian.webtest.ui.keys.KeySequence 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
 

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 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()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2013 Atlassian. All Rights Reserved.