|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.manager.rank.instruction.Instruction com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction com.atlassian.greenhopper.manager.rank.instruction.LastRowCheck
public class LastRowCheck
Checks that there is only one final row for a given custom field or no row at all. Used when removing the last issue from the index
Field Summary |
---|
Fields inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction |
---|
customFieldId, issueId |
Constructor Summary | |
---|---|
LastRowCheck(com.atlassian.activeobjects.external.ActiveObjects ao,
java.lang.Long customFieldId,
java.lang.Long issueId)
|
Method Summary | |
---|---|
java.lang.String |
getBeforeState()
Get the state of the db before executing this instruction |
void |
sanityCheck()
Checks that there is one last issue with the given id and pointing to null |
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction |
---|
getCustomFieldId, getIssueId |
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.Instruction |
---|
execute, getAfterState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LastRowCheck(com.atlassian.activeobjects.external.ActiveObjects ao, java.lang.Long customFieldId, java.lang.Long issueId)
Method Detail |
---|
public void sanityCheck()
sanityCheck
in class Instruction
public java.lang.String getBeforeState()
Instruction
getBeforeState
in class Instruction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |