com.atlassian.bamboo.plan.branch
Class BranchSpecificConfiguration

java.lang.Object
  extended by 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.


Constructor Summary
BranchSpecificConfiguration()
           
 
Method Summary
 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)
           
 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

BranchSpecificConfiguration

public BranchSpecificConfiguration()
Method Detail

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)


Copyright © 2012 Atlassian. All Rights Reserved.