Package com.sun.messaging.jms.management.server

# Class ServiceState

java.lang.Object
com.sun.messaging.jms.management.server.ServiceState

public class ServiceState extends Object
Class containing information on service states.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `PAUSED`
  Service is paused.
  `static final int`
  `QUIESCED`
  Service is quiesced.
  `static final int`
  `RUNNING`
  Service is up and running.
  `static final int`
  `UNKNOWN`
  Unknown service state.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `toString(int state)`
  Returns a string representation of the specified service state.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### UNKNOWN

    public static final int UNKNOWN
    Unknown service state.
    See Also:
      - Constant Field Values

  - ### RUNNING

    public static final int RUNNING
    Service is up and running.
    See Also:
      - Constant Field Values

  - ### PAUSED

    public static final int PAUSED
    Service is paused.
    See Also:
      - Constant Field Values

  - ### QUIESCED

    public static final int QUIESCED
    Service is quiesced.
    See Also:
      - Constant Field Values

- ## Method Details

  - ### toString

    public static String toString(int state)
    Returns a string representation of the specified service state.
    Parameters:
      `state` - Service state.
    Returns:
      String representation of the specified service state.