public enum ServiceStatus extends Enum<ServiceStatus> implements Serializable
Service
instanceEnum Constant and Description |
---|
Started |
Starting |
Stopped |
Stopping |
Suspended |
Suspending |
Modifier and Type | Method and Description |
---|---|
boolean |
isStartable() |
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStoppable() |
boolean |
isStopped() |
boolean |
isStopping() |
boolean |
isSuspendable() |
boolean |
isSuspended() |
boolean |
isSuspending() |
static ServiceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceStatus Starting
public static final ServiceStatus Started
public static final ServiceStatus Stopping
public static final ServiceStatus Stopped
public static final ServiceStatus Suspending
public static final ServiceStatus Suspended
public static ServiceStatus[] values()
for (ServiceStatus c : ServiceStatus.values()) System.out.println(c);
public static ServiceStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isStartable()
public boolean isStoppable()
public boolean isSuspendable()
public boolean isStarting()
public boolean isStarted()
public boolean isStopping()
public boolean isStopped()
public boolean isSuspending()
public boolean isSuspended()
Apache Camel