|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.branch.BranchIntegrationConfigurationImpl
public class BranchIntegrationConfigurationImpl
Constructor Summary | |
---|---|
BranchIntegrationConfigurationImpl()
|
|
BranchIntegrationConfigurationImpl(boolean aDefaultConfiguration)
|
|
BranchIntegrationConfigurationImpl(BranchIntegrationConfiguration other,
boolean isDefaultConfiguration)
|
Method Summary | |
---|---|
PlanKey |
getBranchToMergeWith(PlanKey featureBranch)
Returns the PlanKey of the relevant vcs branch we want to merge with. |
PlanKey |
getIntegrationPlanBranchKey()
|
PlanKey |
getMergeResultDestinationBranch(PlanKey planBranch)
Returns the PlanKey of the relevant VCS branch we want to perform the merge on. |
BranchIntegrationStrategy |
getStrategy()
|
boolean |
isEnabled()
|
boolean |
isPushEnabled()
Tells whether Bamboo should push back the merged commit back into upstream repository if the build finishes successfully. |
boolean |
isValid()
Is the object state valid after it has been initialised from properties. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchIntegrationConfigurationImpl()
public BranchIntegrationConfigurationImpl(boolean aDefaultConfiguration)
public BranchIntegrationConfigurationImpl(BranchIntegrationConfiguration other, boolean isDefaultConfiguration)
Method Detail |
---|
@NotNull public PlanKey getIntegrationPlanBranchKey()
getIntegrationPlanBranchKey
in interface BranchIntegrationConfiguration
public boolean isEnabled()
isEnabled
in interface BranchIntegrationConfiguration
public BranchIntegrationStrategy getStrategy()
getStrategy
in interface BranchIntegrationConfiguration
public boolean isPushEnabled()
BranchIntegrationConfiguration
isPushEnabled
in interface BranchIntegrationConfiguration
@NotNull public PlanKey getMergeResultDestinationBranch(@NotNull PlanKey planBranch)
BranchIntegrationConfiguration
getMergeResultDestinationBranch
in interface BranchIntegrationConfiguration
@NotNull public PlanKey getBranchToMergeWith(@NotNull PlanKey featureBranch)
BranchIntegrationConfiguration
getBranchToMergeWith
in interface BranchIntegrationConfiguration
public void populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfig
HierarchicalConfiguration
populateFromConfig
in interface ConvertibleFromConfig
@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfig
HierarchicalConfiguration
from the current state of the object
toConfiguration
in interface ConvertibleFromConfig
HierarchicalConfiguration
. Never nullpublic boolean isValid()
OptionallyConvertibleFromConfig
isValid
in interface OptionallyConvertibleFromConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |