Interface CustomCommand
public interface CustomCommand
Custom command.
-
Method Details
-
name
String name()Name of the command.- Returns:
- the name
-
description
String description()Descritption of the command.- Returns:
- the description
-
parameters
List<ParameterDescriptor> parameters()The parameters for the command.- Returns:
- the parameters
-
execute
Execute the command.- Parameters:
parameters- the parameters, one entry per each parameter namecontext- access the environment- Returns:
- false in case of failure
- Throws:
Exception
-