SMSLib 3.5.3

org.smslib
Enum Service.ServiceStatus

java.lang.Object
  extended by java.lang.Enum<Service.ServiceStatus>
      extended by 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>


Enum Constant Summary
STARTED
           
STARTING
           
STOPPED
           
STOPPING
           
 
Method Summary
static Service.ServiceStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Service.ServiceStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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
Method Detail

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

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org