Class NoChange<T>
java.lang.Object
net.officefloor.model.impl.change.AbstractChange<T>
net.officefloor.model.impl.change.NoChange<T>
- All Implemented Interfaces:
Change<T>
Change that does nothing.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.officefloor.model.impl.change.AbstractChange
getChangeDescription, getConflicts, getTarget, setConflicts
-
Constructor Details
-
NoChange
Initiate. -
NoChange
Initiate.
-
-
Method Details
-
canApply
public boolean canApply()Description copied from interface:ChangeIndicates if can apply this
Change.Typically there will be
Conflictinstances providing detail on why theChangecan not be applied. -
apply
public void apply()Description copied from interface:ChangeApplies thisChange. -
revert
public void revert()Description copied from interface:ChangeReverts this
Change(after being applied).This enables do/undo functionality.
-