org.netbeans.modules.websvc.wsstack.api
Enum WSStack.Holder
java.lang.Object
java.lang.Enum<WSStack.Holder>
org.netbeans.modules.websvc.wsstack.api.WSStack.Holder
- All Implemented Interfaces:
- Serializable, Comparable<WSStack.Holder>
- Enclosing class:
- WSStack<T>
public static enum WSStack.Holder
- extends Enum<WSStack.Holder>
Enumeration of WS Stack Holders: determines the location WS Stack libraries.
Options are: SERVER, IDE or JDK.
Method Summary |
static WSStack.Holder |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WSStack.Holder[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
IDE
public static final WSStack.Holder IDE
JDK
public static final WSStack.Holder JDK
SERVER
public static final WSStack.Holder SERVER
values
public static final WSStack.Holder[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(WSStack.Holder c : WSStack.Holder.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static WSStack.Holder 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