public enum ServiceKind extends Enum<ServiceKind>
Enum Constant and Description |
---|
OPERATION
A service implemented with an Operation, declared with an 'operation' element in the service extension.
|
RULESET
A service implemented with a Ruleset, declared with a 'rule' element in the service extension.
|
Modifier and Type | Method and Description |
---|---|
static ServiceKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceKind RULESET
public static final ServiceKind OPERATION
public static ServiceKind[] values()
for (ServiceKind c : ServiceKind.values()) System.out.println(c);
public static ServiceKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null