Module org.refcodes.command
Package org.refcodes.command
Interface UndoableAccessor.UndoableProperty<CTX,R,E extends Exception>
- Type Parameters:
CTX- the generic typeR- the generic typeE- the element type
- All Superinterfaces:
UndoableAccessor<CTX,,R, E> UndoableAccessor.UndoableMutator<CTX,R, E>
- Enclosing interface:
UndoableAccessor<CTX,R, E extends Exception>
public static interface UndoableAccessor.UndoableProperty<CTX,R,E extends Exception>
extends UndoableAccessor<CTX,R,E>, UndoableAccessor.UndoableMutator<CTX,R,E>
Provides a undoable property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.command.UndoableAccessor
UndoableAccessor.UndoableBuilder<CTX,R, E extends Exception, B extends UndoableAccessor.UndoableBuilder<CTX, R, E, B>>, UndoableAccessor.UndoableMutator<CTX, R, E extends Exception>, UndoableAccessor.UndoableProperty<CTX, R, E extends Exception> -
Method Summary
Modifier and TypeMethodDescriptionletUndoable(Undoable<CTX, R, E> aUndoable) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenUndoable(setter) as ofUndoableAccessor.UndoableMutator.setUndoable(Undoable)and returns the very same value (getter).Methods inherited from interface org.refcodes.command.UndoableAccessor
getUndoableMethods inherited from interface org.refcodes.command.UndoableAccessor.UndoableMutator
setUndoable
-
Method Details
-
letUndoable
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenUndoable(setter) as ofUndoableAccessor.UndoableMutator.setUndoable(Undoable)and returns the very same value (getter).- Parameters:
aUndoable- TheUndoableto set (viaUndoableAccessor.UndoableMutator.setUndoable(Undoable)).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-