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>
public class NoChange<T> extends AbstractChange<T>
Changethat does nothing.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply()Applies thisChange.booleancanApply()Indicates if can apply thisChange.voidrevert()Reverts thisChange(after being applied).-
Methods inherited from class net.officefloor.model.impl.change.AbstractChange
getChangeDescription, getConflicts, getTarget, setConflicts
-
-
-
-
Method Detail
-
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.- Specified by:
canApplyin interfaceChange<T>- Overrides:
canApplyin classAbstractChange<T>- Returns:
trueif can apply thisChange.- See Also:
Change.getConflicts()
-
-