Module org.refcodes.command
Package org.refcodes.command
Interface CommandAccessor<CTX,R,E extends Exception>
- Type Parameters:
CTX- the generic typeR- the generic typeE- the element type
- All Known Subinterfaces:
CommandAccessor.CommandProperty<CTX,R, E>
public interface CommandAccessor<CTX,R,E extends Exception>
Provides an accessor for a command property.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCommandAccessor.CommandBuilder<CTX,R, E extends Exception, B extends CommandAccessor.CommandBuilder<CTX, R, E, B>> Provides a builder method for a name property returning the builder for applying multiple build operations.static interfaceCommandAccessor.CommandMutator<CTX,R, E extends Exception> Provides a mutator for a command property.static interfaceCommandAccessor.CommandProperty<CTX,R, E extends Exception> Provides a command property. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the command from the command property.
-
Method Details
-
getCommand
Retrieves the command from the command property.- Returns:
- The command stored by the command property.
-