Class DeployableVersion
- java.lang.Object
 - 
- org.codehaus.cargo.container.deployable.DeployableVersion
 
 
- 
public final class DeployableVersion extends Object
Version of Deployable. Can be J2EE, Java EE, Jakarta EE, etc. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static DeployableVersionJ2EEThe J2EE deployable version.static DeployableVersionJAKARTA_EEThe Jakarta EE deployable version.static DeployableVersionJAVA_EEThe Java EE deployable version. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetVersion()inthashCode()StringtoString()static DeployableVersiontoVersion(String versionAsString)Transform a version represented as a string into aDeployableVersionobject. 
 - 
 
- 
- 
Field Detail
- 
J2EE
public static final DeployableVersion J2EE
The J2EE deployable version. 
- 
JAVA_EE
public static final DeployableVersion JAVA_EE
The Java EE deployable version. 
- 
JAKARTA_EE
public static final DeployableVersion JAKARTA_EE
The Jakarta EE deployable version. 
 - 
 
- 
Method Detail
- 
toVersion
public static DeployableVersion toVersion(String versionAsString)
Transform a version represented as a string into aDeployableVersionobject.- Parameters:
 versionAsString- the string to transform- Returns:
 - the 
DeployableVersionobject 
 
- 
getVersion
public String getVersion()
- Returns:
 - the deployable version
 
 
 - 
 
 -