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
- See Also:
-
Method Details
-
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 theWebElement.sendKeys(CharSequence...)andmethods.invalid reference
com.atlassian.pageobjects.framework.element.PageElement#type(CharSequence...)- Returns:
- keyboard shortcut associated with this issue operation.
- Throws:
IllegalStateException- if this action has no keyboard shortcut, which may be verified by means ofhasShortcut()- See Also:
-