com.atlassian.jira.webtest.selenium.framework.model
Class LegacyIssueOperation

java.lang.Object
  extended by com.atlassian.jira.webtest.selenium.framework.model.LegacyIssueOperation
All Implemented Interfaces:
IssueOperation

public final class LegacyIssueOperation
extends Object
implements IssueOperation

Represents an operation that can be performed on an issue. This is not an ENUM because the list is not fixed.

Since:
v4.2

Field Summary
static LegacyIssueOperation ATTACH_FILE
           
static LegacyIssueOperation COMMENT
           
static LegacyIssueOperation EDIT_LABELS
           
static LegacyIssueOperation LINK_ISSUE
           
static LegacyIssueOperation LOG_WORK
           
 
Constructor Summary
LegacyIssueOperation(IssueOperation action)
           
LegacyIssueOperation(String locator, String name)
           
 
Method Summary
 String cssClass()
          CSS class of the operation.
 String getViewIssueMenuLocator()
           
 boolean hasIssueMenuLocator()
           
 boolean hasShortcut()
          whether or not this action has a shortcut associated with it.
 String id()
          Unique ID of the action used in the UI.
 String name()
           
 com.atlassian.webtest.ui.keys.KeySequence shortcut()
          Shortcut of this action (if any).
 String toString()
           
 String uiName()
          UI-visible name of the operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTACH_FILE

public static final LegacyIssueOperation ATTACH_FILE

LOG_WORK

public static final LegacyIssueOperation LOG_WORK

LINK_ISSUE

public static final LegacyIssueOperation LINK_ISSUE

EDIT_LABELS

public static final LegacyIssueOperation EDIT_LABELS

COMMENT

public static final LegacyIssueOperation COMMENT
Constructor Detail

LegacyIssueOperation

public LegacyIssueOperation(IssueOperation action)

LegacyIssueOperation

public LegacyIssueOperation(String locator,
                            String name)
Method Detail

hasIssueMenuLocator

public boolean hasIssueMenuLocator()

getViewIssueMenuLocator

public String getViewIssueMenuLocator()

name

public String name()

toString

public String toString()
Overrides:
toString in class Object

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.