com.atlassian.bamboo.fieldvalue
Class BuildDefinitionConverter
java.lang.Object
com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter
public class BuildDefinitionConverter
- extends java.lang.Object
Converts a BuildDefinition
to and from an XMLConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INHERIT_REPOSITORY
public static final java.lang.String INHERIT_REPOSITORY
- See Also:
- Constant Field Values
SELECTED_REPOSITORY_KEY
public static final java.lang.String SELECTED_REPOSITORY_KEY
- See Also:
- Constant Field Values
SELECTED_BUILD_STRATEGY
public static final java.lang.String SELECTED_BUILD_STRATEGY
- See Also:
- Constant Field Values
SELECTED_WEB_REPOSITORY_VIEWER_KEY
public static final java.lang.String SELECTED_WEB_REPOSITORY_VIEWER_KEY
- See Also:
- Constant Field Values
BUILD_POLLING
public static final java.lang.String BUILD_POLLING
- See Also:
- Constant Field Values
BUILD_TRIGGER_IP
public static final java.lang.String BUILD_TRIGGER_IP
- See Also:
- Constant Field Values
SELECTED_BUILDER_LABEL
public static final java.lang.String SELECTED_BUILDER_LABEL
- The
SELECTED_BUILDER_LABEL
is the plain visible label
- See Also:
- Constant Field Values
SELECTED_BUILDER_KEY
public static final java.lang.String SELECTED_BUILDER_KEY
- See Also:
- Constant Field Values
SELECTED_BUILDER_SHORT_KEY
public static final java.lang.String SELECTED_BUILDER_SHORT_KEY
- See Also:
- Constant Field Values
DEPENDENT_WILL_TRIGGER
public static final java.lang.String DEPENDENT_WILL_TRIGGER
- See Also:
- Constant Field Values
DEPENDENT_WILL_BE_TRIGGERED_BY
public static final java.lang.String DEPENDENT_WILL_BE_TRIGGERED_BY
- See Also:
- Constant Field Values
BuildDefinitionConverter
public BuildDefinitionConverter()
fromObject
public org.apache.commons.configuration.HierarchicalConfiguration fromObject(@NotNull
BuildDefinition buildDefinition)
setBuildStrategyToConfig
public void setBuildStrategyToConfig(org.apache.commons.configuration.XMLConfiguration config,
BuildStrategy buildStrategy)
copyConfigurationToDefinition
@NotNull
public BuildDefinition copyConfigurationToDefinition(@NotNull
org.apache.commons.configuration.HierarchicalConfiguration fromConfig,
@NotNull
BuildDefinition buildDefinition)
- Copies the
HierarchicalConfiguration
items to the passed BuildDefinition
object
- Parameters:
fromConfig
- buildDefinition
-
- Returns:
setBuildStrategyManager
public void setBuildStrategyManager(BuildStrategyManager buildStrategyManager)
setRepositoryManager
public void setRepositoryManager(RepositoryManager repositoryManager)
setBuilderManager
public void setBuilderManager(BuilderManager builderManager)
setPluginManager
public void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
setWebRepositoryViewerManager
public void setWebRepositoryViewerManager(WebRepositoryViewerManager webRepositoryViewerManager)
Copyright © 2010 Atlassian. All Rights Reserved.