Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ContainerType(String type) |
public static final ContainerType INSTALLED
public static final ContainerType EMBEDDED
public static final ContainerType REMOTE
public ContainerType(String type)
type
- the internal representation of the container type.
For example: "installed","embedded" or "remote".public static ContainerType toType(String typeAsString)
ContainerType
object.typeAsString
- the string to transformContainerType
objectpublic 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.