Nuxeo Enterprise Platform 5.4

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

Method Summary
 String[] getAliases()
           
 CommandParameter[] getArguments()
           
 String getDescription()
           
 String getHelp()
           
 String getName()
           
 CommandOption[] getOptions()
           
 boolean hasArguments()
           
 boolean hasOptions()
           
 boolean isDynamicScript()
           
 Command newInstance()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.