|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
public abstract class AbstractBuildStrategy
Common build strategy behaviour
Constructor Summary | |
---|---|
AbstractBuildStrategy()
|
Method Summary | |
---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
|
java.lang.String |
getDescription()
|
void |
init(Plan build)
Default to do nothing |
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Update the current object with data in the HierarchicalConfiguration |
org.apache.commons.configuration.HierarchicalConfiguration |
toConfiguration()
Generate a HierarchicalConfiguration from the current state of the object |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Takes in a BuildConfiguration and returns any errors possible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.build.strategy.BuildStrategy |
---|
getKey, getName |
Constructor Detail |
---|
public AbstractBuildStrategy()
Method Detail |
---|
public void init(Plan build)
init
in interface BuildStrategy
public void addDefaultValues(BuildConfiguration buildConfiguration)
addDefaultValues
in interface BuildStrategy
public java.lang.String getDescription()
getDescription
in interface BuildStrategy
@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfig
HierarchicalConfiguration
from the current state of the object
toConfiguration
in interface ConvertibleFromConfig
HierarchicalConfiguration
. Never nullpublic void populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfig
HierarchicalConfiguration
populateFromConfig
in interface ConvertibleFromConfig
public ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategy
BuildConfiguration
and returns any errors possible
validate
in interface BuildStrategy
buildConfiguration
- not null
ErrorCollection
. must not be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |