org.plasma.provisioning.cli
Enum QueryToolAction
java.lang.Object
java.lang.Enum<QueryToolAction>
org.plasma.provisioning.cli.QueryToolAction
- All Implemented Interfaces:
- Serializable, Comparable<QueryToolAction>
public enum QueryToolAction
- extends Enum<QueryToolAction>
|
Enum Constant Summary |
compile
Takes the XML representation for a query, as described by a PlasmaQueryTM or other supported
declarative query framework, and generates an output model based on the
target type. |
run
Takes the XML representation for a query, as described by a PlasmaQueryTM or other supported
declarative query framework, runs the query against the Plasma SDO runtime,
and generates/returns SDO compliant XML. |
|
Method Summary |
static QueryToolAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QueryToolAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
compile
public static final QueryToolAction compile
- Takes the XML representation for a query, as described by a PlasmaQueryTM or other supported
declarative query framework, and generates an output model based on the
target type.
- See Also:
Query,
QueryToolTargetType
run
public static final QueryToolAction run
- Takes the XML representation for a query, as described by a PlasmaQueryTM or other supported
declarative query framework, runs the query against the Plasma SDO runtime,
and generates/returns SDO compliant XML.
- See Also:
Query
values
public static QueryToolAction[] 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 (QueryToolAction c : QueryToolAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QueryToolAction valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013. All rights reserved.