|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.metadata.model.definitions.AbstractMetadataDefinition
com.sonyericsson.hudson.plugins.metadata.model.definitions.StringMetadataDefinition
public class StringMetadataDefinition
A metadata definition of the type String.
| Nested Class Summary | |
|---|---|
static class |
StringMetadataDefinition.StringMetaDataDefinitionDescriptor
The Descriptor. |
| Nested classes/interfaces inherited from class com.sonyericsson.hudson.plugins.metadata.model.definitions.AbstractMetadataDefinition |
|---|
AbstractMetadataDefinition.AbstractMetaDataDefinitionDescriptor |
| Constructor Summary | |
|---|---|
StringMetadataDefinition(String name,
String defaultValue)
Standard Constructor. |
|
StringMetadataDefinition(String name,
String description,
String defaultValue,
boolean exposedToEnvironment)
Standard Constructor. |
|
| Method Summary | |
|---|---|
StringMetadataValue |
createValue(Object o)
Creates an AbstractMetadataValue from this definition. |
String |
getDefaultValue()
Returns default metadata values for this definition. |
| Methods inherited from class com.sonyericsson.hudson.plugins.metadata.model.definitions.AbstractMetadataDefinition |
|---|
getAll, getDescription, getDescriptor, getFullName, getFullName, getFullNameFrom, getFullPath, getName, getParent, getType, getValue, isExposedToEnvironment, setExposeToEnvironment, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public StringMetadataDefinition(String name,
String description,
String defaultValue,
boolean exposedToEnvironment)
name - the name.description - the description.defaultValue - the default value for this definitionexposedToEnvironment - if this definition should be exposed to the build as an
environment variable.
public StringMetadataDefinition(String name,
String defaultValue)
name - the name.defaultValue - the default value.| Method Detail |
|---|
public StringMetadataValue createValue(Object o)
AbstractMetadataDefinition
createValue in interface MetadataDefinitioncreateValue in class AbstractMetadataDefinitiono - the value to use as input for creating the AbstractMetadataValue.
public String getDefaultValue()
getDefaultValue in class AbstractMetadataDefinition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||