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 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getStatus()
int
hashCode()
static TomcatDeployableStatus
toStatus(String statusAsString)
Transform a status represented as a string into aTomcatDeployableStatus
object.String
toString()
-
-
-
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 aTomcatDeployableStatus
object.- Parameters:
statusAsString
- the string to transform- Returns:
- the
TomcatDeployableStatus
object
-
getStatus
public String getStatus()
- Returns:
- the deployable status
-
-