org.nuxeo.ecm.shell
Interface CommandDescriptor
- All Superinterfaces:
- Comparable<CommandDescriptor>
- All Known Implementing Classes:
- DefaultCommandDescriptor, ScriptingCommandDescriptor
public interface CommandDescriptor
- extends Comparable<CommandDescriptor>
- Author:
- Bogdan Stefanescu
isDynamicScript
boolean isDynamicScript()
hasOptions
boolean hasOptions()
hasArguments
boolean hasArguments()
getAliases
String[] getAliases()
getDescription
String getDescription()
getHelp
String getHelp()
getName
String getName()
getOptions
CommandOption[] getOptions()
getArguments
CommandParameter[] getArguments()
newInstance
Command newInstance()
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.