portal.services
Class ServiceState
java.lang.Object
portal.services.ServiceState
- public final class ServiceState
- extends java.lang.Object
This class represents an enumeration type used to specify a service state.
Three states are possible:
RUNNING |
The service is started and can be used. |
STOPPED |
The service is currently not started and cannot be used until the start() method is called.
|
PENDING |
A start has been requested but the service has not yet fully started. This
could be because of some internal processing still to be performed or because
depending services are not yet started.
|
- Author:
- Bavo De Ridder < bavo AT coderspotting DOT org >
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RUNNING
public static final ServiceState RUNNING
STOPPED
public static final ServiceState STOPPED
PENDING
public static final ServiceState PENDING
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
toString
public java.lang.String toString()