com.atlassian.bamboo.fieldvalue
Interface ConvertibleFromConfig

All Known Subinterfaces:
Artifact, BuildStrategy, CleanCheckoutAwareRepository, CleanWorkingDirectoryAwareRepository, CommitUrlProvider, IncludeExcludeAwareRepository, InitialBuildAwareRepository, MavenPomAccessorCapableRepository, MutableQuietPeriodAwareRepository, PostConfigurableRepository, QuartzStrategy, QuietPeriodAwareRepository, Repository, RepositoryEventAware, SelectableAuthenticationRepository, WebRepositoryViewer, XmppMessageSender
All Known Implementing Classes:
AbstractArtifact, AbstractBuildStrategy, AbstractQuartzStrategy, AbstractRepository, AbstractWebRepositoryViewer, CronTriggerBuildStrategy, CVSRepository, DefaultArtifact, DefaultWebRepositoryViewer, FisheyeWebRepositoryViewer, HgRepository, HgWebRepositoryViewer, ManualBuildStrategy, NoWebRepositoryViewer, 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 © 2010 Atlassian. All Rights Reserved.