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

java.lang.Object
  extended by com.atlassian.greenhopper.manager.rank.instruction.Instruction
      extended by com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
          extended by com.atlassian.greenhopper.manager.rank.instruction.BaseInputParametersCheck
              extended by com.atlassian.greenhopper.manager.rank.instruction.MoveParametersCheck

public class MoveParametersCheck
extends BaseInputParametersCheck

Checks the input parameters for an move operation. This instruction merely checks some basic assumptions


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
customFieldId, issueId
 
Constructor Summary
MoveParametersCheck(com.atlassian.activeobjects.external.ActiveObjects ao, java.lang.Long customFieldId, java.lang.Long issueId, java.lang.Long oldPrevious, java.lang.Long oldNext, java.lang.Long newPrevious, java.lang.Long newNext)
           
 
Method Summary
 java.lang.String getBeforeState()
          Get the state of the db before executing this instruction
 java.lang.Long getNewNext()
           
 java.lang.Long getNewPrevious()
           
 java.lang.Long getOldNext()
           
 java.lang.Long getOldPrevious()
           
 
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInputParametersCheck
sanityCheck
 
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

MoveParametersCheck

public MoveParametersCheck(com.atlassian.activeobjects.external.ActiveObjects ao,
                           java.lang.Long customFieldId,
                           java.lang.Long issueId,
                           java.lang.Long oldPrevious,
                           java.lang.Long oldNext,
                           java.lang.Long newPrevious,
                           java.lang.Long newNext)
Method Detail

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

getOldPrevious

public java.lang.Long getOldPrevious()

getOldNext

public java.lang.Long getOldNext()

getNewPrevious

public java.lang.Long getNewPrevious()

getNewNext

public java.lang.Long getNewNext()


Copyright © 2007-2014 Atlassian. All Rights Reserved.