org.basex.core.parse
Enum Commands.Cmd
java.lang.Object
java.lang.Enum<Commands.Cmd>
org.basex.core.parse.Commands.Cmd
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Commands.Cmd>
- Enclosing interface:
- Commands
public static enum Commands.Cmd
- extends java.lang.Enum<Commands.Cmd>
Command definitions.
Method Summary |
java.lang.String |
help(boolean detail)
Returns a help string. |
static Commands.Cmd |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Commands.Cmd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ADD
public static final Commands.Cmd ADD
ALTER
public static final Commands.Cmd ALTER
CHECK
public static final Commands.Cmd CHECK
CLOSE
public static final Commands.Cmd CLOSE
COPY
public static final Commands.Cmd COPY
CREATE
public static final Commands.Cmd CREATE
CS
public static final Commands.Cmd CS
DELETE
public static final Commands.Cmd DELETE
DROP
public static final Commands.Cmd DROP
EXIT
public static final Commands.Cmd EXIT
EXPORT
public static final Commands.Cmd EXPORT
FIND
public static final Commands.Cmd FIND
FLUSH
public static final Commands.Cmd FLUSH
GET
public static final Commands.Cmd GET
GRANT
public static final Commands.Cmd GRANT
HELP
public static final Commands.Cmd HELP
INFO
public static final Commands.Cmd INFO
INSPECT
public static final Commands.Cmd INSPECT
KILL
public static final Commands.Cmd KILL
LIST
public static final Commands.Cmd LIST
OPEN
public static final Commands.Cmd OPEN
OPTIMIZE
public static final Commands.Cmd OPTIMIZE
PASSWORD
public static final Commands.Cmd PASSWORD
RENAME
public static final Commands.Cmd RENAME
REPLACE
public static final Commands.Cmd REPLACE
REPO
public static final Commands.Cmd REPO
RESTORE
public static final Commands.Cmd RESTORE
RETRIEVE
public static final Commands.Cmd RETRIEVE
RUN
public static final Commands.Cmd RUN
EXECUTE
public static final Commands.Cmd EXECUTE
SET
public static final Commands.Cmd SET
SHOW
public static final Commands.Cmd SHOW
STORE
public static final Commands.Cmd STORE
XQUERY
public static final Commands.Cmd XQUERY
values
public static Commands.Cmd[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Commands.Cmd c : Commands.Cmd.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Commands.Cmd valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
help
public final java.lang.String help(boolean detail)
- Returns a help string.
- Parameters:
detail
- show details
- Returns:
- string