org.fcrepo.server.utilities.status
Class ServerState

java.lang.Object
  extended by org.fcrepo.server.utilities.status.ServerState

public class ServerState
extends Object


Field Summary
static ServerState NEW_SERVER
           
static ServerState NOT_STARTING
           
static ServerState STARTED
           
static ServerState STARTING
           
static ServerState STARTUP_FAILED
           
static ServerState[] STATES
           
static ServerState STOPPED
           
static ServerState STOPPED_WITH_ERR
           
static ServerState STOPPING
           
 
Method Summary
static ServerState fromString(String name)
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEW_SERVER

public static final ServerState NEW_SERVER

NOT_STARTING

public static final ServerState NOT_STARTING

STARTING

public static final ServerState STARTING

STARTED

public static final ServerState STARTED

STARTUP_FAILED

public static final ServerState STARTUP_FAILED

STOPPING

public static final ServerState STOPPING

STOPPED

public static final ServerState STOPPED

STOPPED_WITH_ERR

public static final ServerState STOPPED_WITH_ERR

STATES

public static final ServerState[] STATES
Method Detail

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

fromString

public static ServerState fromString(String name)
                              throws Exception
Throws:
Exception


Copyright © 2012 DuraSpace. All Rights Reserved.