Class DefaultActionPreparator
- java.lang.Object
-
- org.apache.karaf.shell.commands.basic.DefaultActionPreparator
-
- All Implemented Interfaces:
ActionPreparator
- Direct Known Subclasses:
BlueprintCommand.BlueprintActionPreparator
@Deprecated public class DefaultActionPreparator extends Object implements ActionPreparator
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description DefaultActionPreparator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Objectconvert(Action action, org.apache.felix.service.command.CommandSession session, Object value, Type toType)Deprecated.booleanprepare(Action action, org.apache.felix.service.command.CommandSession session, List<Object> params)Deprecated.Check if the arguments are valid for the action and inject the arguments into the fields of the action.
-
-
-
Method Detail
-
prepare
public boolean prepare(Action action, org.apache.felix.service.command.CommandSession session, List<Object> params) throws Exception
Deprecated.Description copied from interface:ActionPreparatorCheck if the arguments are valid for the action and inject the arguments into the fields of the action. Using deprecated Action for compatibility.- Specified by:
preparein interfaceActionPreparator- Parameters:
action- The action to perform.session- The command session to use.params- The action arguments.- Returns:
- True if the action preparation succeed, false else.
- Throws:
Exception- In case of preparation failure.
-
-