org.gcube.common.core.resources.service
Enum Software.Type
java.lang.Object
java.lang.Enum<Software.Type>
org.gcube.common.core.resources.service.Software.Type
- All Implemented Interfaces:
- Serializable, Comparable<Software.Type>
- Enclosing class:
- Software
public static enum Software.Type
- extends Enum<Software.Type>
|
Method Summary |
static Software.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Software.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
library
public static final Software.Type library
application
public static final Software.Type application
webapplication
public static final Software.Type webapplication
values
public static Software.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 (Software.Type c : Software.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 Software.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
Copyright © 2013. All Rights Reserved.