Modifier and Type | Method and Description |
---|---|
Action |
CommandWithAction.createNewAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
CommandWithAction.getActionClass()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandWithAction.releaseAction(Action action)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract Action |
AbstractCommand.createNewAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
AbstractCommand.getActionClass()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
DefaultActionPreparator.convert(Action action,
org.apache.felix.service.command.CommandSession session,
Object value,
Type toType)
Deprecated.
|
boolean |
ActionPreparator.prepare(Action action,
org.apache.felix.service.command.CommandSession session,
List<Object> arguments)
Deprecated.
|
boolean |
DefaultActionPreparator.prepare(Action action,
org.apache.felix.service.command.CommandSession session,
List<Object> params)
Deprecated.
|
protected void |
DefaultActionPreparator.printUsage(org.apache.felix.service.command.CommandSession session,
Action action,
Map<Option,Field> optionsMap,
Map<Argument,Field> argsMap,
PrintStream out)
Deprecated.
|
void |
AbstractCommand.releaseAction(Action action)
Deprecated.
Release the used Action.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Action
An action allows to easily execute commands in karaf.
|
Modifier and Type | Method and Description |
---|---|
Action |
CommandWithAction.createNewAction() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
CommandWithAction.getActionClass() |
Modifier and Type | Method and Description |
---|---|
void |
CommandWithAction.releaseAction(Action action) |
Modifier and Type | Method and Description |
---|---|
abstract Action |
AbstractCommand.createNewAction() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
AbstractCommand.getActionClass() |
Modifier and Type | Method and Description |
---|---|
protected Object |
DefaultActionPreparator.convert(Action action,
org.apache.felix.service.command.CommandSession session,
Object value,
Type toType) |
boolean |
ActionPreparator.prepare(Action action,
org.apache.felix.service.command.CommandSession session,
List<Object> arguments)
Check if the arguments are valid for the action and inject the arguments into the fields
of the action
Using deprecated Action for compatiblity
|
boolean |
DefaultActionPreparator.prepare(Action action,
org.apache.felix.service.command.CommandSession session,
List<Object> params) |
void |
AbstractCommand.releaseAction(Action action)
Release the used Action.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
ActionMetaData.getActionClass() |
Modifier and Type | Method and Description |
---|---|
Object |
ActionMetaData.getDefaultValue(Action action,
Argument argument) |
Object |
ActionMetaData.getDefaultValue(Action action,
Option option) |
void |
ActionMetaData.printUsage(Action action,
PrintStream out,
boolean globalScope,
int termWidth) |
Modifier and Type | Method and Description |
---|---|
ActionMetaData |
ActionMetaDataFactory.create(Class<? extends Action> actionClass) |
Command |
ActionMetaDataFactory.getAndConvertDeprecatedCommand(Class<? extends Action> actionClass) |
Command |
ActionMetaDataFactory.getCommand(Class<? extends Action> actionClass) |
Constructor and Description |
---|
ActionMetaData(Class<? extends Action> actionClass,
Command command,
Map<Option,Field> options,
Map<Argument,Field> args,
List<Argument> orderedArguments,
Completer[] completers) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAction |
class |
ExitAction
Exit from the current sub-shell and get back to the previous one.
|
class |
OsgiCommandSupport |
class |
SubShellAction
Switch to a sub-shell.
|
Modifier and Type | Method and Description |
---|---|
Action |
BlueprintCommand.createNewAction() |
Modifier and Type | Method and Description |
---|---|
protected Object |
BlueprintCommand.BlueprintActionPreparator.convert(Action action,
org.apache.felix.service.command.CommandSession commandSession,
Object o,
Type type) |
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.