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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Clears the changed flags.void
boolean
Checks whether or not this has changed.void
notifyObservers
(Object arg) void
Sets this as being changed.void
setChanged
(boolean b) Sets whether or not this has changed.
-
Constructor Details
-
ChangedFlag
public ChangedFlag()
-
-
Method Details
-
addObserver
-
deleteObserver
-
notifyObservers
-
setChanged
public void setChanged()Sets this as being changed.- Specified by:
setChanged
in interfaceChangedFlagInterface
-
setChanged
public void setChanged(boolean b) Sets whether or not this has changed.- Specified by:
setChanged
in interfaceChangedFlagInterface
- 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 interfaceChangedFlagInterface
-
hasChanged
public boolean hasChanged()Checks whether or not this has changed.- Specified by:
hasChanged
in interfaceChangedFlagInterface
- Returns:
- true if the this has changed, false otherwise
-