Interface CommandAccessor.CommandProperty<CTX,R,E extends Exception>
- Type Parameters:
CTX
- the generic typeR
- the generic typeE
- the element type
- All Superinterfaces:
CommandAccessor<CTX,
,R, E> CommandAccessor.CommandMutator<CTX,
R, E>
- Enclosing interface:
CommandAccessor<CTX,
R, E extends Exception>
public static interface CommandAccessor.CommandProperty<CTX,R,E extends Exception>
extends CommandAccessor<CTX,R,E>, CommandAccessor.CommandMutator<CTX,R,E>
Provides a command property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.command.CommandAccessor
CommandAccessor.CommandBuilder<CTX,
R, E extends Exception, B extends CommandAccessor.CommandBuilder<CTX, R, E, B>>, CommandAccessor.CommandMutator<CTX, R, E extends Exception>, CommandAccessor.CommandProperty<CTX, R, E extends Exception> -
Method Summary
Modifier and TypeMethodDescriptionletCommand
(Command<CTX, R, E> aCommand) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCommand
(setter) as ofCommandAccessor.CommandMutator.setCommand(Command)
and returns the very same value (getter).Methods inherited from interface org.refcodes.command.CommandAccessor
getCommand
Methods inherited from interface org.refcodes.command.CommandAccessor.CommandMutator
setCommand
-
Method Details
-
letCommand
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCommand
(setter) as ofCommandAccessor.CommandMutator.setCommand(Command)
and returns the very same value (getter).- Parameters:
aCommand
- TheCommand
to set (viaCommandAccessor.CommandMutator.setCommand(Command)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-