Package org.apache.hop.core.changed
Class ChangedFlag
- java.lang.Object
-
- org.apache.hop.core.changed.ChangedFlag
-
- All Implemented Interfaces:
IChanged
- Direct Known Subclasses:
TransformErrorMeta
public class ChangedFlag extends Object implements IChanged
-
-
Constructor Summary
Constructors Constructor Description ChangedFlag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddObserver(IHopObserver o)voidclearChanged()Clears the changed flags.voiddeleteObserver(IHopObserver 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
-
addObserver
public void addObserver(IHopObserver o)
-
deleteObserver
public void deleteObserver(IHopObserver o)
-
notifyObservers
public void notifyObservers(Object arg)
-
setChanged
public void setChanged()
Sets this as being changed.- Specified by:
setChangedin interfaceIChanged
-
setChanged
public void setChanged(boolean b)
Sets whether or not this has changed.- Specified by:
setChangedin interfaceIChanged- Parameters:
ch- true if you want to mark this as changed, false otherwise
-
clearChanged
public void clearChanged()
Clears the changed flags.- Specified by:
clearChangedin interfaceIChanged
-
hasChanged
public boolean hasChanged()
Checks whether or not this has changed.- Specified by:
hasChangedin interfaceIChanged- Returns:
- true if the this has changed, false otherwise
-
-