public interface

IssueOperation

com.atlassian.jira.pageobjects.model.IssueOperation
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
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

Public Methods

public String cssClass ()

CSS class of the operation.

Returns
  • unique CSS class of the operation

public boolean hasShortcut ()

whether or not this action has a shortcut associated with it.

Returns
  • true, if this action has a keyboard shortcut

public String id ()

Unique ID of the action used in the UI.

Returns
  • ID of the issue operation

public CharSequence shortcut ()

Shortcut of this action (if any). It must be compatible with the 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

public String uiName ()

UI-visible name of the operation

Returns
  • name of the operation