com.atlassian.bamboo.fieldvalue
Interface ConvertibleFromConfig

All Known Subinterfaces:
Artifact, BuildStrategy, CleanCheckoutAwareRepository, IncludeExcludeAwareRepository, InitialBuildAwareRepository, MutableQuietPeriodAwareRepository, PostConfigurableRepository, QuartzStrategy, QuietPeriodAwareRepository, Repository, RepositoryEventAware, XmppMessageSender
All Known Implementing Classes:
AbstractArtifact, AbstractBuildStrategy, AbstractQuartzStrategy, AbstractRepository, CronTriggerBuildStrategy, CVSRepository, DefaultArtifact, ManualBuildStrategy, PerforceRepository, PollingBuildStrategy, SingleDailyBuildStrategy, SmackXmppMessageSender, SvnRepository, TriggeredBuildStrategy

public interface ConvertibleFromConfig

This interface defones an object that can be converted to a from a HierarchicalConfiguration


Method Summary
 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
 

Method Detail

populateFromConfig

void populateFromConfig(@NotNull
                        org.apache.commons.configuration.HierarchicalConfiguration config)
Update the current object with data in the HierarchicalConfiguration

Parameters:
config -

toConfiguration

@NotNull
org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
Generate a HierarchicalConfiguration from the current state of the object

Returns:
Always returns an HierarchicalConfiguration. Never null


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.