org.gcube.common.core.contexts
Enum GHNContext.Type
java.lang.Object
java.lang.Enum<GHNContext.Type>
org.gcube.common.core.contexts.GHNContext.Type
- All Implemented Interfaces:
- Serializable, Comparable<GHNContext.Type>
- Enclosing class:
- GHNContext
public static enum GHNContext.Type
- extends Enum<GHNContext.Type>
GHN types
DYNAMIC
public static final GHNContext.Type DYNAMIC
STATIC
public static final GHNContext.Type STATIC
SELFCLEANING
public static final GHNContext.Type SELFCLEANING
values
public static GHNContext.Type[] 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 (GHNContext.Type c : GHNContext.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GHNContext.Type 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
toString
public String toString()
- Overrides:
toString in class Enum<GHNContext.Type>
Copyright © 2012. All Rights Reserved.