|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.configuration.ConfigurationType
public class ConfigurationType
Configuration type of Configuration
s. There
are currently 3 types: Standalone local, Existing local and runtime configurations.
Field Summary | |
---|---|
static ConfigurationType |
EXISTING
Represents an existing configuration type. |
static ConfigurationType |
RUNTIME
Represents a runtime configuration type. |
static ConfigurationType |
STANDALONE
Represents a standalone configuration type. |
Constructor Summary | |
---|---|
ConfigurationType(String type)
|
Method Summary | |
---|---|
boolean |
equals(Object object)
|
String |
getType()
|
int |
hashCode()
|
String |
toString()
|
static ConfigurationType |
toType(String typeAsString)
Transform a type represented as a string into a ConfigurationType object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ConfigurationType STANDALONE
public static final ConfigurationType EXISTING
public static final ConfigurationType RUNTIME
Constructor Detail |
---|
public ConfigurationType(String type)
type
- the internal string representation of the configuration type.
For example: "standalone", "existing" or "runtime".Method Detail |
---|
public static ConfigurationType toType(String typeAsString)
ConfigurationType
object.
typeAsString
- the string to transform
ConfigurationType
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |