Class BranchSpecificConfiguration

java.lang.Object
com.atlassian.bamboo.plan.branch.BranchSpecificConfiguration
All Implemented Interfaces:
ConvertibleFromConfig, OptionallyConvertibleFromConfig

public class BranchSpecificConfiguration extends Object implements OptionallyConvertibleFromConfig
Dumping ground for any configuration specific to a branch.
  • Field Details

  • Constructor Details

    • BranchSpecificConfiguration

      public BranchSpecificConfiguration()
  • Method Details

    • populateFromConfig

      public void populateFromConfig(@NotNull @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 @NotNull 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()
    • isIgnoreSpecs

      public boolean isIgnoreSpecs()
    • isAwaitingSpecsExecution

      public boolean isAwaitingSpecsExecution()
    • setAwaitingSpecsExecution

      public void setAwaitingSpecsExecution(boolean awaitingSpecsExecution)
    • setIgnoreSpecs

      public void setIgnoreSpecs(boolean ignoreSpecs)
    • setBranchCleanupDisabled

      public void setBranchCleanupDisabled(boolean branchCleanupDisabled)
    • getNotificationStrategy

      public BranchNotificationStrategy getNotificationStrategy()
    • setNotificationStrategy

      public void setNotificationStrategy(BranchNotificationStrategy notificationStrategy)
    • getPlanBranchWorkflow

      public PlanBranchWorkflow getPlanBranchWorkflow()
      Returns:
      which PlanBranchWorkflow led to creation of this plan branch.
    • setPlanBranchWorkflow

      public void setPlanBranchWorkflow(PlanBranchWorkflow creationWorkflow)