|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HasOptions
Marker interface for injectable components indicating that this component will define command line options.
Often a command implementation uses various components to delegate some lower level tasks, and these components want to allow users to tweak behaviours through a set of command line options.
This marker interface tells AbstractCommand.createParser() that those components will participate
in the command line parsing process. Subtypes can define fields/setters with args4j annotations, and/or refer
to other components that has HasOptions annotation.
Components that have this interface normally needs to be scoped to command to ensure there's only one instance of it per a single command invocation.
CommandScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||