Class SimpleCommand
- java.lang.Object
-
- org.apache.karaf.shell.commands.basic.AbstractCommand
-
- org.apache.karaf.shell.commands.basic.SimpleCommand
-
- All Implemented Interfaces:
org.apache.felix.service.command.Function,CommandWithAction
@Deprecated public class SimpleCommand extends AbstractCommand
Deprecated.A very simpleFunctionwhich createsActionbased on a class name.
-
-
Constructor Summary
Constructors Constructor Description SimpleCommand()Deprecated.SimpleCommand(Class<? extends Action> actionClass)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ActioncreateNewAction()Deprecated.static org.osgi.framework.ServiceRegistrationexport(org.osgi.framework.BundleContext context, Class<? extends Action> actionClass)Deprecated.Class<? extends Action>getActionClass()Deprecated.voidsetActionClass(Class<? extends Action> actionClass)Deprecated.-
Methods inherited from class org.apache.karaf.shell.commands.basic.AbstractCommand
execute, getPreparator, releaseAction
-
-
-
-
Method Detail
-
getActionClass
public Class<? extends Action> getActionClass()
Deprecated.- Specified by:
getActionClassin interfaceCommandWithAction- Overrides:
getActionClassin classAbstractCommand
-
createNewAction
public Action createNewAction()
Deprecated.- Specified by:
createNewActionin interfaceCommandWithAction- Specified by:
createNewActionin classAbstractCommand
-
-