|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.tomcat.internal.TomcatDeployableStatus
public final class TomcatDeployableStatus
Status of a Deployable deployed in Tomcat. Can be a "running", "stopped", "not found".
Field Summary | |
---|---|
static TomcatDeployableStatus |
NOT_FOUND
The status of the deployable when it doesn't exists in Tomcat. |
static TomcatDeployableStatus |
RUNNING
The status of the deployable when it's running in Tomcat. |
static TomcatDeployableStatus |
STOPPED
The status of the deployable when it's stopped in Tomcat. |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
String |
getStatus()
|
int |
hashCode()
|
static TomcatDeployableStatus |
toStatus(String statusAsString)
Transform a status represented as a string into a TomcatDeployableStatus object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TomcatDeployableStatus RUNNING
public static final TomcatDeployableStatus STOPPED
public static final TomcatDeployableStatus NOT_FOUND
Method Detail |
---|
public static TomcatDeployableStatus toStatus(String statusAsString)
TomcatDeployableStatus
object.
statusAsString
- the string to transform
TomcatDeployableStatus
objectpublic boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getStatus()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |