|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter
public class BuildDefinitionConverter
Converts a BuildDefinition
to and from an XMLConfiguration
Field Summary | |
---|---|
static java.lang.String |
BUILD_POLLING
|
static java.lang.String |
BUILD_TRIGGER_IP
|
static java.lang.String |
DEPENDENT_WILL_BE_TRIGGERED_BY
|
static java.lang.String |
DEPENDENT_WILL_TRIGGER
|
static java.lang.String |
SELECTED_BUILD_STRATEGY
|
static java.lang.String |
SELECTED_BUILDER_KEY
|
static java.lang.String |
SELECTED_BUILDER_LABEL
The SELECTED_BUILDER_LABEL is the plain visible label |
static java.lang.String |
SELECTED_REPOSITORY_KEY
|
static java.lang.String |
SELECTED_WEB_REPOSITORY_VIEWER_KEY
|
Constructor Summary | |
---|---|
BuildDefinitionConverter()
|
Method Summary | |
---|---|
org.apache.commons.configuration.HierarchicalConfiguration |
fromObject(java.lang.Object o)
Converts the object to a FieldValueItemHolder of FieldValueItem s |
java.lang.Class |
getClassToConvert()
Returns the class that this converter can convert |
void |
setBuilderManager(BuilderManager builderManager)
|
void |
setBuildStrategyManager(BuildStrategyManager buildStrategyManager)
|
void |
setBuildStrategyToConfig(org.apache.commons.configuration.XMLConfiguration config,
BuildStrategy buildStrategy)
|
void |
setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
|
void |
setRepositoryManager(RepositoryManager repositoryManager)
|
void |
setWebRepositoryViewerManager(WebRepositoryViewerManager webRepositoryViewerManager)
|
java.lang.Object |
toObject(org.apache.commons.configuration.HierarchicalConfiguration config,
java.lang.Object object)
Converts a FieldValueItemHolder of FieldValueItem to an Object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SELECTED_REPOSITORY_KEY
public static final java.lang.String SELECTED_BUILD_STRATEGY
public static final java.lang.String SELECTED_WEB_REPOSITORY_VIEWER_KEY
public static final java.lang.String BUILD_POLLING
public static final java.lang.String BUILD_TRIGGER_IP
public static final java.lang.String SELECTED_BUILDER_LABEL
SELECTED_BUILDER_LABEL
is the plain visible label
public static final java.lang.String SELECTED_BUILDER_KEY
public static final java.lang.String DEPENDENT_WILL_TRIGGER
public static final java.lang.String DEPENDENT_WILL_BE_TRIGGERED_BY
Constructor Detail |
---|
public BuildDefinitionConverter()
Method Detail |
---|
public java.lang.Class getClassToConvert()
FieldValueObjectConverter
getClassToConvert
in interface FieldValueObjectConverter
public org.apache.commons.configuration.HierarchicalConfiguration fromObject(java.lang.Object o)
FieldValueObjectConverter
FieldValueItemHolder
of FieldValueItem
s
fromObject
in interface FieldValueObjectConverter
o
- must not be null
FieldValueItemHolder
of FieldValueItem
. Never nullpublic void setBuildStrategyToConfig(org.apache.commons.configuration.XMLConfiguration config, BuildStrategy buildStrategy)
public java.lang.Object toObject(org.apache.commons.configuration.HierarchicalConfiguration config, java.lang.Object object)
FieldValueObjectConverter
FieldValueItemHolder
of FieldValueItem
to an Object
toObject
in interface FieldValueObjectConverter
object
- - object to convert. Must not be null @return the object, with any values in the passed in the list setpublic void setBuildStrategyManager(BuildStrategyManager buildStrategyManager)
public void setRepositoryManager(RepositoryManager repositoryManager)
public void setBuilderManager(BuilderManager builderManager)
public void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
public void setWebRepositoryViewerManager(WebRepositoryViewerManager webRepositoryViewerManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |