com.atlassian.jira.movesubtask.operation
Class MoveSubTaskTypeOperation
java.lang.Object
com.atlassian.jira.movesubtask.operation.AbstractMoveSubTaskOperation
com.atlassian.jira.movesubtask.operation.MoveSubTaskTypeOperation
- All Implemented Interfaces:
- MoveSubTaskOperation
public class MoveSubTaskTypeOperation
- extends AbstractMoveSubTaskOperation
Field Summary |
static java.lang.String |
NAME
|
static java.lang.String |
NAME_KEY
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
NAME_KEY
public static final java.lang.String NAME_KEY
- See Also:
- Constant Field Values
MoveSubTaskTypeOperation
public MoveSubTaskTypeOperation(IssueManager issueManager,
IssueTypeSchemeManager issueTypeSchemeManager,
ConstantsManager constantsManager)
canPerform
public boolean canPerform(MoveIssueBean moveIssueBean,
com.opensymphony.user.User remoteUser)
- Description copied from interface:
MoveSubTaskOperation
- Determines whether the operation can be performed with the given issue
- Specified by:
canPerform
in interface MoveSubTaskOperation
- Overrides:
canPerform
in class AbstractMoveSubTaskOperation
getNameKey
public java.lang.String getNameKey()
getDescriptionKey
public java.lang.String getDescriptionKey()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
getOperationName
public java.lang.String getOperationName()
getCannotPerformMessageKey
public java.lang.String getCannotPerformMessageKey(MoveIssueBean moveIssueBean)
- Description copied from interface:
MoveSubTaskOperation
- Gets the i18n key for why the operation can't be displayed
- Parameters:
moveIssueBean
- bean containing information about the move
- Returns:
- the i18n key stating the reason why this operation can't be performed on the issue
Copyright © 2002-2010 Atlassian. All Rights Reserved.