com.atlassian.greenhopper.manager.rank.instruction
Class UpdateRowInstruction
java.lang.Object
com.atlassian.greenhopper.manager.rank.instruction.Instruction
com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
com.atlassian.greenhopper.manager.rank.instruction.UpdateRowInstruction
public class UpdateRowInstruction
- extends BaseInstruction
Update row instruction
Constructor Summary |
UpdateRowInstruction(com.atlassian.activeobjects.external.ActiveObjects ao,
java.lang.Long customFieldId,
java.lang.Long issueId,
java.lang.Long oldNextIssueId,
java.lang.Long newNextIssueId)
|
Method Summary |
void |
execute()
Executes an update row instruction |
java.lang.String |
getAfterState()
Get the state of the db after executing this instruction |
java.lang.String |
getBeforeState()
Get the state of the db before executing this instruction |
java.lang.Long |
getNewNextIssueId()
|
java.lang.Long |
getOldNextIssueId()
|
void |
sanityCheck()
Sanity checks for update row instruction
The row exists and either points to the old or new nextIssueId. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateRowInstruction
public UpdateRowInstruction(com.atlassian.activeobjects.external.ActiveObjects ao,
java.lang.Long customFieldId,
java.lang.Long issueId,
java.lang.Long oldNextIssueId,
java.lang.Long newNextIssueId)
sanityCheck
public void sanityCheck()
- Sanity checks for update row instruction
The row exists and either points to the old or new nextIssueId.
- Overrides:
sanityCheck
in class Instruction
execute
public void execute()
- Executes an update row instruction
- Overrides:
execute
in class Instruction
getBeforeState
public java.lang.String getBeforeState()
- Description copied from class:
Instruction
- Get the state of the db before executing this instruction
- Overrides:
getBeforeState
in class Instruction
getAfterState
public java.lang.String getAfterState()
- Description copied from class:
Instruction
- Get the state of the db after executing this instruction
- Overrides:
getAfterState
in class Instruction
getOldNextIssueId
public java.lang.Long getOldNextIssueId()
getNewNextIssueId
public java.lang.Long getNewNextIssueId()
Copyright © 2007-2014 Atlassian. All Rights Reserved.