|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.shell.Token
public class Token
A token is a command line argument and may be of 3 types:
Field Summary | |
---|---|
static int |
COMMAND
|
int |
index
The index of this token in the command line (0 based) |
int |
info
for OPTIONs this is the token index for its value (0 based) for VALUEs this is the token index for the target option (0 based) for PARAMs this is the index of the parameter in the parameter list (0 based) |
static int |
OPTION
|
static int |
PARAM
|
int |
type
The token type |
java.lang.String |
value
The token value |
static int |
VALUE
|
Constructor Summary | |
---|---|
Token(int type,
java.lang.String value,
int index)
|
|
Token(int type,
java.lang.String value,
int index,
int info)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COMMAND
public static final int OPTION
public static final int VALUE
public static final int PARAM
public final int type
public final int index
public int info
public final java.lang.String value
Constructor Detail |
---|
public Token(int type, java.lang.String value, int index, int info)
public Token(int type, java.lang.String value, int index)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |