org.pentaho.di.core.changed
Class ChangedFlag

java.lang.Object
  extended by org.pentaho.di.core.changed.ChangedFlag
All Implemented Interfaces:
ChangedFlagInterface
Direct Known Subclasses:
ClusterSchema, JobMeta, MessagesStore, PartitionSchema, SlaveServer, StepErrorMeta, TransMeta

public class ChangedFlag
extends Object
implements ChangedFlagInterface


Constructor Summary
ChangedFlag()
           
 
Method Summary
 void addObserver(PDIObserver o)
           
 void clearChanged()
          Clears the changed flags.
 void deleteObserver(PDIObserver o)
           
 boolean hasChanged()
          Checks whether or not this has changed.
 void notifyObservers(Object arg)
           
 void setChanged()
          Sets this as being changed.
 void setChanged(boolean b)
          Sets whether or not this has changed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangedFlag

public ChangedFlag()
Method Detail

addObserver

public void addObserver(PDIObserver o)

deleteObserver

public void deleteObserver(PDIObserver o)

notifyObservers

public void notifyObservers(Object arg)

setChanged

public void setChanged()
Sets this as being changed.

Specified by:
setChanged in interface ChangedFlagInterface

setChanged

public void setChanged(boolean b)
Sets whether or not this has changed.

Specified by:
setChanged in interface ChangedFlagInterface
Parameters:
ch - true if you want to mark this as changed, false otherwise

clearChanged

public void clearChanged()
Clears the changed flags.

Specified by:
clearChanged in interface ChangedFlagInterface

hasChanged

public boolean hasChanged()
Checks whether or not this has changed.

Specified by:
hasChanged in interface ChangedFlagInterface
Returns:
true if the this has changed, false otherwise