net.sourceforge.cruisecontrol
Class ProjectState

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.ProjectState
All Implemented Interfaces:
java.io.Serializable

public final class ProjectState
extends java.lang.Object
implements java.io.Serializable

An enumeration of Project states following standard typesafe enumeration pattern in Java.

See Also:
Serialized Form

Field Summary
static ProjectState BOOTSTRAPPING
           
static ProjectState BUILDING
           
static ProjectState IDLE
           
static ProjectState MERGING_LOGS
           
static ProjectState MODIFICATIONSET
           
static ProjectState PAUSED
           
static ProjectState PUBLISHING
           
static ProjectState QUEUED
           
static ProjectState STOPPED
           
static ProjectState WAITING
           
 
Method Summary
 int getCode()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 boolean hasDescription(java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUEUED

public static final ProjectState QUEUED

IDLE

public static final ProjectState IDLE

BOOTSTRAPPING

public static final ProjectState BOOTSTRAPPING

MODIFICATIONSET

public static final ProjectState MODIFICATIONSET

BUILDING

public static final ProjectState BUILDING

MERGING_LOGS

public static final ProjectState MERGING_LOGS

PUBLISHING

public static final ProjectState PUBLISHING

PAUSED

public static final ProjectState PAUSED

STOPPED

public static final ProjectState STOPPED

WAITING

public static final ProjectState WAITING
Method Detail

getDescription

public java.lang.String getDescription()

getCode

public int getCode()

getName

public java.lang.String getName()

hasDescription

public boolean hasDescription(java.lang.String description)