public class OperationCommandType extends AbstractCommandType
Modifier and Type | Class and Description |
---|---|
static class |
OperationCommandType.BlobInputSetter |
static class |
OperationCommandType.DocInputSetter |
static class |
OperationCommandType.OperationParamSetter |
CommandType.Setter, CommandType.Token
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BLOB |
static int |
TYPE_BLOBS |
static int |
TYPE_DOC |
static int |
TYPE_DOCS |
static int |
TYPE_VOID |
Constructor and Description |
---|
OperationCommandType(int inputType,
OperationDocumentation op,
Map<String,CommandType.Token> params,
List<CommandType.Token> args) |
Modifier and Type | Method and Description |
---|---|
static OperationCommandType |
fromOperation(OperationDocumentation op) |
String[] |
getAliases() |
String |
getHelp() |
int |
getInputType() |
String |
getName() |
static int |
getOperationInputType(OperationDocumentation op) |
boolean |
hasBlobInput() |
boolean |
hasDocumentInput() |
boolean |
hasVoidInput() |
compareTo, getArguments, getCommandClass, getLastTokenCompletor, getParameters, getSyntax, newInstance
public static final int TYPE_VOID
public static final int TYPE_DOC
public static final int TYPE_BLOB
public static final int TYPE_DOCS
public static final int TYPE_BLOBS
public OperationCommandType(int inputType, OperationDocumentation op, Map<String,CommandType.Token> params, List<CommandType.Token> args)
public boolean hasVoidInput()
public boolean hasBlobInput()
public boolean hasDocumentInput()
public int getInputType()
public static OperationCommandType fromOperation(OperationDocumentation op)
public static int getOperationInputType(OperationDocumentation op)
public String getHelp()
public String[] getAliases()
public String getName()
Copyright © 2013 Nuxeo SA. All Rights Reserved.