|
||||||||||
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.NumberMetadataValue
public class NumberMetadataValue
Meta data containing a non-decimal number.
Nested Class Summary | |
---|---|
static class |
NumberMetadataValue.NumberMetaDataValueDescriptor
Descriptor for NumberMetadataValue s. |
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 | |
---|---|
NumberMetadataValue(String name,
long value)
Standard Constructor. |
|
NumberMetadataValue(String name,
String description,
long value)
Standard Constructor. |
|
NumberMetadataValue(String name,
String description,
long value,
boolean exposedToEnvironment)
Standard Constructor. |
Method Summary | |
---|---|
int |
compareTo(Object userValue)
|
boolean |
equals(Object obj)
|
hudson.model.Descriptor<AbstractMetadataValue> |
getDescriptor()
|
Long |
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 NumberMetadataValue(String name, String description, long 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 NumberMetadataValue(String name, String description, long value)
name
- the name.description
- the description.value
- the value.public NumberMetadataValue(String name, long value)
name
- the name.value
- the value.Method Detail |
---|
public Long getValue()
AbstractMetadataValue
getValue
in interface Metadata<MetadataValue>
getValue
in class AbstractMetadataValue
public net.sf.json.JSONObject toJson()
MetadataValue
public hudson.model.Descriptor<AbstractMetadataValue> getDescriptor()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object userValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |