Package org.apache.karaf.shell.commands
Interface Action
-
- All Superinterfaces:
Action
- All Known Implementing Classes:
AbstractAction,ExitAction,OsgiCommandSupport,SubShellAction
@Deprecated public interface Action extends Action
Deprecated.An action allows to easily execute commands in karaf. It can be assumed that each action is only accessed by a single thread at a time. An Action is always part of an AbstractCommand. The AbstractCommand makes sure the single threaded assumption above is true. Before the call to the execute method the action is checked for annotated fields (@Argument, @Option). These fields are populated from the command arguments before the action is called. Any class implementing Action must have a no argument constructor. This is necessary so the help generator can instantiate the class and get the default values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Objectexecute(org.apache.felix.service.command.CommandSession session)Deprecated.
-