public class DefaultCommandType extends AbstractCommandType
Modifier and Type | Class and Description |
---|---|
static class |
DefaultCommandType.FieldSetter |
static class |
DefaultCommandType.MethodSetter |
CommandType.Setter, CommandType.Token
Constructor and Description |
---|
DefaultCommandType(Class<? extends Runnable> cmdClass,
List<CommandType.Setter> injectable,
Map<String,CommandType.Token> params,
List<CommandType.Token> args) |
Modifier and Type | Method and Description |
---|---|
static DefaultCommandType |
fromAnnotatedClass(Class<? extends Runnable> cls) |
static DefaultCommandType |
fromAnnotatedClass(String className) |
String[] |
getAliases() |
String |
getHelp() |
String |
getName() |
compareTo, getArguments, getCommandClass, getLastTokenCompletor, getParameters, getSyntax, newInstance
public DefaultCommandType(Class<? extends Runnable> cmdClass, List<CommandType.Setter> injectable, Map<String,CommandType.Token> params, List<CommandType.Token> args)
public static DefaultCommandType fromAnnotatedClass(String className) throws ShellException
ShellException
public static DefaultCommandType fromAnnotatedClass(Class<? extends Runnable> cls) throws ShellException
ShellException
public String getHelp()
public String getName()
public String[] getAliases()
Copyright © 2015 Nuxeo SA. All rights reserved.