org.smslib
Enum Service.ServiceStatus
java.lang.Object
java.lang.Enum<Service.ServiceStatus>
org.smslib.Service.ServiceStatus
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Service.ServiceStatus>
- Enclosing class:
- Service
public static enum Service.ServiceStatus
- extends java.lang.Enum<Service.ServiceStatus>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
STARTING
public static final Service.ServiceStatus STARTING
STARTED
public static final Service.ServiceStatus STARTED
STOPPING
public static final Service.ServiceStatus STOPPING
STOPPED
public static final Service.ServiceStatus STOPPED
values
public static Service.ServiceStatus[] 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 (Service.ServiceStatus c : Service.ServiceStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Service.ServiceStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
(c) 2002-2011, http://smslib.org