com.atlassian.greenhopper.manager.rank.instruction
Class TopOfChainCheck

java.lang.Object
  extended by com.atlassian.greenhopper.manager.rank.instruction.Instruction
      extended by com.atlassian.greenhopper.manager.rank.instruction.TopOfChainCheck

public class TopOfChainCheck
extends Instruction

Ensures that the top of the chain looks as expected


Constructor Summary
TopOfChainCheck(com.atlassian.activeobjects.external.ActiveObjects ao, java.lang.Long customFieldId, java.lang.Long headIssueId, java.lang.Long possibleParentIssueId)
           
 
Method Summary
 java.lang.String getBeforeState()
          Get the state of the db before executing this instruction
 java.lang.Long getCustomFieldId()
           
 java.lang.Long getHeadIssueId()
           
 java.lang.Long getPossibleParentId()
           
 void sanityCheck()
          Sanity check for top of chain alterations.
 
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

TopOfChainCheck

public TopOfChainCheck(com.atlassian.activeobjects.external.ActiveObjects ao,
                       java.lang.Long customFieldId,
                       java.lang.Long headIssueId,
                       java.lang.Long possibleParentIssueId)
Method Detail

sanityCheck

public void sanityCheck()
Sanity check for top of chain alterations.

Overrides:
sanityCheck 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

getCustomFieldId

public java.lang.Long getCustomFieldId()

getHeadIssueId

public java.lang.Long getHeadIssueId()

getPossibleParentId

public java.lang.Long getPossibleParentId()


Copyright © 2007-2013 Atlassian. All Rights Reserved.