Package org.pentaho.di.core.changed
Class ChangedFlag
- java.lang.Object
- 
- org.pentaho.di.core.changed.ChangedFlag
 
- 
- All Implemented Interfaces:
- ChangedFlagInterface
 - Direct Known Subclasses:
- ClusterSchema,- PartitionSchema,- SlaveServer,- StepErrorMeta
 
 public class ChangedFlag extends Object implements ChangedFlagInterface 
- 
- 
Constructor SummaryConstructors Constructor Description ChangedFlag()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddObserver(PDIObserver o)voidclearChanged()Clears the changed flags.voiddeleteObserver(PDIObserver o)booleanhasChanged()Checks whether or not this has changed.voidnotifyObservers(Object arg)voidsetChanged()Sets this as being changed.voidsetChanged(boolean b)Sets whether or not this has changed.
 
- 
- 
- 
Method Detail- 
addObserverpublic void addObserver(PDIObserver o) 
 - 
deleteObserverpublic void deleteObserver(PDIObserver o) 
 - 
notifyObserverspublic void notifyObservers(Object arg) 
 - 
setChangedpublic void setChanged() Sets this as being changed.- Specified by:
- setChangedin interface- ChangedFlagInterface
 
 - 
setChangedpublic void setChanged(boolean b) Sets whether or not this has changed.- Specified by:
- setChangedin interface- ChangedFlagInterface
- Parameters:
- ch- true if you want to mark this as changed, false otherwise
 
 - 
clearChangedpublic void clearChanged() Clears the changed flags.- Specified by:
- clearChangedin interface- ChangedFlagInterface
 
 - 
hasChangedpublic boolean hasChanged() Checks whether or not this has changed.- Specified by:
- hasChangedin interface- ChangedFlagInterface
- Returns:
- true if the this has changed, false otherwise
 
 
- 
 
-