com.sonyericsson.hudson.plugins.metadata.model.definitions
Interface MetadataDefinition

All Superinterfaces:
Metadata<MetadataDefinition>
All Known Implementing Classes:
AbstractMetadataDefinition, DateMetadataDefinition, NumberMetadataDefinition, StringMetadataDefinition, TreeNodeMetadataDefinition

public interface MetadataDefinition
extends Metadata<MetadataDefinition>

A metadata definition interface.


Method Summary
 MetadataValue createValue(Object o)
          Creates a MetadataValue from this definition.
 String getFullName(String separator)
          Generate the full name, using the chosen separator.
 
Methods inherited from interface com.sonyericsson.hudson.plugins.metadata.model.Metadata
getDescription, getFullName, getFullNameFrom, getFullPath, getName, getParent, getValue, isExposedToEnvironment, setExposeToEnvironment, setParent
 

Method Detail

createValue

MetadataValue createValue(Object o)
Creates a MetadataValue from this definition. Uses the input parameter Object to create the MetadataValue.

Parameters:
o - the value to use as input for creating the MetadataValue.
Returns:
the MetadataValue.

getFullName

String getFullName(String separator)
Generate the full name, using the chosen separator.

Parameters:
separator - the separator to use.
Returns:
the full name.


Copyright © 2004-2013. All Rights Reserved.