com.atlassian.jira.pageobjects.model
Interface IssueOperation

All Known Implementing Classes:
DefaultIssueActions, WorkflowIssueAction

public interface IssueOperation

Represents an operation that can be performed on an issue. Operations in the JIRA UI are identifiable by their unique ID, name (visible to users) and CSS class.

Since:
v4.3

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 uiName()
          UI-visible name of the operation
 

Method Detail

id

String id()
Unique ID of the action used in the UI.

Returns:
ID of the issue operation

uiName

String uiName()
UI-visible name of the operation

Returns:
name of the operation

cssClass

String cssClass()
CSS class of the operation.

Returns:
unique CSS class of the operation

hasShortcut

boolean hasShortcut()
whether or not this action has a shortcut associated with it.

Returns:
true, if this action has a keyboard shortcut

shortcut

CharSequence shortcut()
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.

Returns:
keyboard shortcut associated with this issue operation.
Throws:
IllegalStateException - if this action has no keyboard shortcut, which may be verified by means of hasShortcut()
See Also:
hasShortcut(), WebElement.sendKeys(CharSequence...), Keys


Copyright © 2002-2012 Atlassian. All Rights Reserved.