Class DestroyComponentCommand
- java.lang.Object
-
- jadex.platform.service.cli.ACliCommand
-
- jadex.platform.service.cli.commands.DestroyComponentCommand
-
- All Implemented Interfaces:
ICliCommand
public class DestroyComponentCommand extends ACliCommand
-
-
Field Summary
Fields Modifier and Type Field Description static IStringObjectConverter
CID_CONVERTER
-
Constructor Summary
Constructors Constructor Description DestroyComponentCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentInfo[]
getArgumentInfos(CliContext context)
Get the argument infos.java.lang.String
getDescription()
Get the command description.java.lang.String
getExampleUsage()
Get example usage(s).java.lang.String[]
getNames()
Get the command names (name including alias').ResultInfo
getResultInfo(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args)
Get the result info.java.lang.Object
invokeCommand(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args)
Invoke the command.-
Methods inherited from class jadex.platform.service.cli.ACliCommand
invokeCommand
-
-
-
-
Field Detail
-
CID_CONVERTER
public static final IStringObjectConverter CID_CONVERTER
-
-
Method Detail
-
getNames
public java.lang.String[] getNames()
Get the command names (name including alias').- Specified by:
getNames
in interfaceICliCommand
- Specified by:
getNames
in classACliCommand
- Returns:
- A string array of the command name and optional further alias names.
-
getDescription
public java.lang.String getDescription()
Get the command description.- Specified by:
getDescription
in interfaceICliCommand
- Overrides:
getDescription
in classACliCommand
- Returns:
- The command description.
-
getExampleUsage
public java.lang.String getExampleUsage()
Get example usage(s).- Specified by:
getExampleUsage
in interfaceICliCommand
- Overrides:
getExampleUsage
in classACliCommand
- Returns:
- Example usages.
-
invokeCommand
public java.lang.Object invokeCommand(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args)
Invoke the command.- Specified by:
invokeCommand
in interfaceICliCommand
- Specified by:
invokeCommand
in classACliCommand
- Parameters:
context
- The context.args
- The arguments.
-
getArgumentInfos
public ArgumentInfo[] getArgumentInfos(CliContext context)
Get the argument infos.- Specified by:
getArgumentInfos
in interfaceICliCommand
- Overrides:
getArgumentInfos
in classACliCommand
- Parameters:
context
- The context.- Returns:
- The argument infos.
-
getResultInfo
public ResultInfo getResultInfo(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args)
Get the result info.- Specified by:
getResultInfo
in interfaceICliCommand
- Overrides:
getResultInfo
in classACliCommand
- Parameters:
context
- The context.- Returns:
- The result info.
-
-