|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sonyericsson.hudson.plugins.metadata.model.values.AbstractMetadataValue com.sonyericsson.hudson.plugins.metadata.model.values.StringMetadataValue
public class StringMetadataValue
A Meta Data value of the type String.
Nested Class Summary | |
---|---|
static class |
StringMetadataValue.StringMetaDataValueDescriptor
The Descriptor. |
Nested classes/interfaces inherited from class com.sonyericsson.hudson.plugins.metadata.model.values.AbstractMetadataValue |
---|
AbstractMetadataValue.AbstractMetaDataValueDescriptor |
Field Summary |
---|
Fields inherited from class com.sonyericsson.hudson.plugins.metadata.model.values.AbstractMetadataValue |
---|
name |
Constructor Summary | |
---|---|
StringMetadataValue(String name,
String value)
Standard Constructor. |
|
StringMetadataValue(String name,
String description,
String value)
Standard Constructor. |
|
StringMetadataValue(String name,
String description,
String value,
boolean exposedToEnvironment)
Standard Constructor. |
Method Summary | |
---|---|
int |
compareTo(Object userValue)
|
boolean |
equals(Object obj)
|
hudson.model.Descriptor<AbstractMetadataValue> |
getDescriptor()
|
String |
getValue()
Get the value. |
int |
hashCode()
|
net.sf.json.JSONObject |
toJson()
Convert this object into a JSON object. |
Methods inherited from class com.sonyericsson.hudson.plugins.metadata.model.values.AbstractMetadataValue |
---|
addEnvironmentVariables, clone, getDescription, getEnvironmentName, getFullName, getFullName, getFullNameFrom, getFullPath, getName, getParent, isExposedToEnvironment, isGenerated, replacementOf, setDescription, setExposeToEnvironment, setGenerated, setName, setParent, toAbstractJson |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@DataBoundConstructor public StringMetadataValue(String name, String description, String value, boolean exposedToEnvironment)
name
- the name.description
- the description.value
- the value.exposedToEnvironment
- if this value should be exposed to the build as an
environment variable.public StringMetadataValue(String name, String description, String value)
name
- the name.description
- the description.value
- the value.public StringMetadataValue(String name, String value)
name
- the name.value
- the value.Method Detail |
---|
public String getValue()
AbstractMetadataValue
getValue
in interface Metadata<MetadataValue>
getValue
in class AbstractMetadataValue
public hudson.model.Descriptor<AbstractMetadataValue> getDescriptor()
public net.sf.json.JSONObject toJson()
MetadataValue
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int compareTo(Object userValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |