public final class DeployerType extends Object
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getType() |
int |
hashCode() |
boolean |
isLocal() |
boolean |
isRemote() |
String |
toString() |
static DeployerType |
toType(ContainerType containerType)
Converts a
ContainerType to the corresponding DeployerType . |
static DeployerType |
toType(String typeAsString)
Transform a type represented as a string into a
DeployerType object. |
public static final DeployerType INSTALLED
public static final DeployerType REMOTE
public static final DeployerType EMBEDDED
public static DeployerType toType(String typeAsString)
DeployerType
object.typeAsString
- the string to transformDeployerType
objectpublic static DeployerType toType(ContainerType containerType)
ContainerType
to the corresponding DeployerType
.containerType
- the container type to be converted.public boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getType()
public String toString()
toString
in class Object
Object.toString()
public boolean isLocal()
public boolean isRemote()
Copyright © 2004-2013 Codehaus. All Rights Reserved.