public class BranchSpecificConfiguration extends Object implements OptionallyConvertibleFromConfig
Modifier and Type | Field and Description |
---|---|
static String |
BRANCH_CLEANUP_DISABLED |
static String |
BRANCH_NOTIFICATION_STRATEGY |
static String |
BRANCH_OVERRIDE_BUILD_STRATEGY
Deprecated.
since 4.3
|
static String |
BRANCH_TRIGGER_REPOSITORIES
Deprecated.
since 4.3
|
static String |
PLAN_BRANCH_WORKFLOW_CFG_KEY
Config key for storing info which
PlanBranchWorkflow led to creation of this plan branch. |
static String |
PREFIX |
Constructor and Description |
---|
BranchSpecificConfiguration() |
Modifier and Type | Method and Description |
---|---|
BranchNotificationStrategy |
getNotificationStrategy() |
PlanBranchWorkflow |
getPlanBranchWorkflow() |
boolean |
isBranchCleanupDisabled() |
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 |
void |
setBranchCleanupDisabled(boolean branchCleanupDisabled) |
void |
setNotificationStrategy(BranchNotificationStrategy notificationStrategy) |
void |
setPlanBranchWorkflow(PlanBranchWorkflow creationWorkflow) |
org.apache.commons.configuration.HierarchicalConfiguration |
toConfiguration()
Generate a
HierarchicalConfiguration from the current state of the object |
public static final String PREFIX
public static final String BRANCH_CLEANUP_DISABLED
@Deprecated public static final String BRANCH_OVERRIDE_BUILD_STRATEGY
@Deprecated public static final String BRANCH_TRIGGER_REPOSITORIES
public static final String BRANCH_NOTIFICATION_STRATEGY
public static final String PLAN_BRANCH_WORKFLOW_CFG_KEY
PlanBranchWorkflow
led to creation of this plan branch.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 objecttoConfiguration
in interface ConvertibleFromConfig
HierarchicalConfiguration
. Never nullpublic boolean isValid()
OptionallyConvertibleFromConfig
isValid
in interface OptionallyConvertibleFromConfig
public boolean isBranchCleanupDisabled()
public void setBranchCleanupDisabled(boolean branchCleanupDisabled)
public BranchNotificationStrategy getNotificationStrategy()
public void setNotificationStrategy(BranchNotificationStrategy notificationStrategy)
public PlanBranchWorkflow getPlanBranchWorkflow()
PlanBranchWorkflow
led to creation of this plan branch.public void setPlanBranchWorkflow(PlanBranchWorkflow creationWorkflow)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.