|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.ContainerType
public class ContainerType
Types of Container
s.
There are currently 3 types: Local Installed, Local Embedded and Remote.
Field Summary | |
---|---|
static ContainerType |
EMBEDDED
Represents a local embedded container type. |
static ContainerType |
INSTALLED
Represents a local installed container type. |
static ContainerType |
REMOTE
Represents a remote container type. |
Constructor Summary | |
---|---|
ContainerType(java.lang.String type)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getType()
|
int |
hashCode()
|
boolean |
isLocal()
|
boolean |
isRemote()
|
java.lang.String |
toString()
|
static ContainerType |
toType(java.lang.String typeAsString)
Transform a type represented as a string into a ContainerType object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ContainerType INSTALLED
public static final ContainerType EMBEDDED
public static final ContainerType REMOTE
Constructor Detail |
---|
public ContainerType(java.lang.String type)
type
- the internal representation of the container type.
For example: "installed","embedded" or "remote".Method Detail |
---|
public static ContainerType toType(java.lang.String typeAsString)
ContainerType
object.
typeAsString
- the string to transform
ContainerType
objectpublic 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 |