Class TomcatDeployableStatus
- java.lang.Object
-
- org.codehaus.cargo.container.tomcat.internal.TomcatDeployableStatus
-
public final class TomcatDeployableStatus extends Object
Status of a Deployable deployed in Tomcat. Can be a "running", "stopped", "not found".
-
-
Field Summary
Fields Modifier and Type Field Description static TomcatDeployableStatusNOT_FOUNDThe status of the deployable when it doesn't exists in Tomcat.static TomcatDeployableStatusRUNNINGThe status of the deployable when it's running in Tomcat.static TomcatDeployableStatusSTOPPEDThe status of the deployable when it's stopped in Tomcat.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetStatus()inthashCode()static TomcatDeployableStatustoStatus(String statusAsString)Transform a status represented as a string into aTomcatDeployableStatusobject.StringtoString()
-
-
-
Field Detail
-
RUNNING
public static final TomcatDeployableStatus RUNNING
The status of the deployable when it's running in Tomcat.
-
STOPPED
public static final TomcatDeployableStatus STOPPED
The status of the deployable when it's stopped in Tomcat.
-
NOT_FOUND
public static final TomcatDeployableStatus NOT_FOUND
The status of the deployable when it doesn't exists in Tomcat.
-
-
Method Detail
-
toStatus
public static TomcatDeployableStatus toStatus(String statusAsString)
Transform a status represented as a string into aTomcatDeployableStatusobject.- Parameters:
statusAsString- the string to transform- Returns:
- the
TomcatDeployableStatusobject
-
getStatus
public String getStatus()
- Returns:
- the deployable status
-
-