Class DeployableType
- java.lang.Object
-
- org.codehaus.cargo.container.deployable.DeployableType
-
public final class DeployableType extends Object
Type of Deployable. Can be WAR, EAR, EXPANDED_WAR, etc.
-
-
Field Summary
Fields Modifier and Type Field Description static DeployableType
AOP
The AOP deployable type.static DeployableType
BUNDLE
The OSGi Bundle deployable type.static DeployableType
EAR
The EAR deployable type.static DeployableType
EJB
The EJB deployable type.static DeployableType
FILE
The File deployable type.static DeployableType
HAR
The HAR deployable type.static DeployableType
RAR
The RAR deployable type.static DeployableType
SAR
The SAR deployable type.static DeployableType
WAR
The WAR deployable type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getType()
int
hashCode()
String
toString()
static DeployableType
toType(String typeAsString)
Transform a type represented as a string into aDeployableType
object.
-
-
-
Field Detail
-
WAR
public static final DeployableType WAR
The WAR deployable type.
-
EAR
public static final DeployableType EAR
The EAR deployable type.
-
EJB
public static final DeployableType EJB
The EJB deployable type.
-
SAR
public static final DeployableType SAR
The SAR deployable type.
-
RAR
public static final DeployableType RAR
The RAR deployable type.
-
FILE
public static final DeployableType FILE
The File deployable type.
-
BUNDLE
public static final DeployableType BUNDLE
The OSGi Bundle deployable type.
-
HAR
public static final DeployableType HAR
The HAR deployable type.
-
AOP
public static final DeployableType AOP
The AOP deployable type.
-
-
Method Detail
-
toType
public static DeployableType toType(String typeAsString)
Transform a type represented as a string into aDeployableType
object.- Parameters:
typeAsString
- the string to transform- Returns:
- the
DeployableType
object
-
getType
public String getType()
- Returns:
- the deployable type
-
-