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

java.lang.Object
  extended by com.atlassian.greenhopper.manager.rank.instruction.Instruction
Direct Known Subclasses:
BaseInstruction, TopOfChainCheck

public abstract class Instruction
extends java.lang.Object

Abstract Instruction class.


Constructor Summary
Instruction(com.atlassian.activeobjects.external.ActiveObjects ao)
           
 
Method Summary
 void execute()
          Execute the 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
 void sanityCheck()
          Execute sanity checks without actually altering the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction

public Instruction(com.atlassian.activeobjects.external.ActiveObjects ao)
Method Detail

sanityCheck

public void sanityCheck()
Execute sanity checks without actually altering the database.


execute

public void execute()
Execute the instruction


getBeforeState

public java.lang.String getBeforeState()
Get the state of the db before executing this instruction


getAfterState

public java.lang.String getAfterState()
Get the state of the db after executing this instruction



Copyright © 2007-2014 Atlassian. All Rights Reserved.