portal.services
Class ServiceState

java.lang.Object
  extended byportal.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 >

Field Summary
static ServiceState PENDING
           
static ServiceState RUNNING
           
static ServiceState STOPPED
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RUNNING

public static final ServiceState RUNNING

STOPPED

public static final ServiceState STOPPED

PENDING

public static final ServiceState PENDING
Method Detail

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()