|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.deployer.DeployerType
public final class DeployerType
Type of Deployer. Can be a installed, embedded or remote.
Field Summary | |
---|---|
static DeployerType |
EMBEDDED
A deployer type to deploy to an embedded local container. |
static DeployerType |
INSTALLED
A deployer type to deploy to an installed local container. |
static DeployerType |
REMOTE
A deployer type to deploy to a remote container. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getType()
|
int |
hashCode()
|
boolean |
isLocal()
|
boolean |
isRemote()
|
java.lang.String |
toString()
|
static DeployerType |
toType(ContainerType containerType)
Converts a ContainerType to the corresponding DeployerType . |
static DeployerType |
toType(java.lang.String typeAsString)
Transform a type represented as a string into a DeployerType object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DeployerType INSTALLED
public static final DeployerType REMOTE
public static final DeployerType EMBEDDED
Method Detail |
---|
public static DeployerType toType(java.lang.String typeAsString)
DeployerType
object.
typeAsString
- the string to transform
DeployerType
objectpublic static DeployerType toType(ContainerType containerType)
ContainerType
to the corresponding DeployerType
.
containerType
- the container type to be converted.
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean isLocal()
public boolean isRemote()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |