net.csdn
Enum ServiceFramwork.Mode
java.lang.Object
java.lang.Enum<ServiceFramwork.Mode>
net.csdn.ServiceFramwork.Mode
- All Implemented Interfaces:
- Serializable, Comparable<ServiceFramwork.Mode>
- Enclosing class:
- ServiceFramwork
public static enum ServiceFramwork.Mode
- extends Enum<ServiceFramwork.Mode>
development
public static final ServiceFramwork.Mode development
production
public static final ServiceFramwork.Mode production
test
public static final ServiceFramwork.Mode test
values
public static ServiceFramwork.Mode[] 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 (ServiceFramwork.Mode c : ServiceFramwork.Mode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ServiceFramwork.Mode 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 © 2014. All Rights Reserved.