com.atlassian.bamboo.plan.branch
Class BranchSpecificConfiguration
java.lang.Object
com.atlassian.bamboo.plan.branch.BranchSpecificConfiguration
- All Implemented Interfaces:
- ConvertibleFromConfig, OptionallyConvertibleFromConfig
public class BranchSpecificConfiguration
- extends java.lang.Object
- implements OptionallyConvertibleFromConfig
Dumping ground for any configuration specific to a branch.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BRANCH_CLEANUP_DISABLED
public static final java.lang.String BRANCH_CLEANUP_DISABLED
- See Also:
- Constant Field Values
BRANCH_NOTIFICATION_STRATEGY
public static final java.lang.String BRANCH_NOTIFICATION_STRATEGY
- See Also:
- Constant Field Values
BranchSpecificConfiguration
public BranchSpecificConfiguration()
populateFromConfig
public void populateFromConfig(@NotNull
org.apache.commons.configuration.HierarchicalConfiguration config)
- Description copied from interface:
ConvertibleFromConfig
- Update the current object with data in the
HierarchicalConfiguration
- Specified by:
populateFromConfig
in interface ConvertibleFromConfig
toConfiguration
@NotNull
public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
- Description copied from interface:
ConvertibleFromConfig
- Generate a
HierarchicalConfiguration
from the current state of the object
- Specified by:
toConfiguration
in interface ConvertibleFromConfig
- Returns:
- Always returns an
HierarchicalConfiguration
. Never null
isValid
public boolean isValid()
- Description copied from interface:
OptionallyConvertibleFromConfig
- Is the object state valid after it has been initialised from properties.
- Specified by:
isValid
in interface OptionallyConvertibleFromConfig
- Returns:
isBranchCleanupDisabled
public boolean isBranchCleanupDisabled()
setBranchCleanupDisabled
public void setBranchCleanupDisabled(boolean branchCleanupDisabled)
isOverrideBuildStrategy
public boolean isOverrideBuildStrategy()
setOverrideBuildStrategy
public void setOverrideBuildStrategy(boolean overrideBuildStrategy)
getTriggerRepositories
public java.util.Set<java.lang.Long> getTriggerRepositories()
setTriggerRepositories
public void setTriggerRepositories(java.util.Set<java.lang.Long> triggerRepositories)
getNotificationStrategy
public BranchNotificationStrategy getNotificationStrategy()
setNotificationStrategy
public void setNotificationStrategy(BranchNotificationStrategy notificationStrategy)
Copyright © 2012 Atlassian. All Rights Reserved.