AdministrationConfigurationAccessor
AdministrationConfigurationPersister
or PlanManager
@Deprecated public interface Persister extends Startable
Modifier and Type | Method and Description |
---|---|
void |
addBuildResults(ImmutableBuildable buildable,
BuildResults buildResults)
Deprecated.
since 2.7
|
void |
clear()
Deprecated.
Clears all interal caches the persister may have
|
void |
deleteBuildResults(ImmutableBuildable buildable,
long buildNumber)
Deprecated.
since 2.7
|
AdministrationConfiguration |
getAdministrationConfiguration()
Deprecated.
since 5.0 use
getAdministrationConfiguration(com.atlassian.bamboo.FeatureManager) instead |
AdministrationConfiguration |
getAdministrationConfiguration(FeatureManager featureManager)
Deprecated.
Reload the persisted admin configuration data
|
BuildResults |
getBuildResults(Key planKey,
int buildNumber)
Deprecated.
Get the Nth build for a given build.
|
File |
getConfigurationDirectoryFile()
Deprecated.
Return the directory containing the administration.xml file.
|
File |
getDataDirectoryFile()
Deprecated.
|
boolean |
isInitialised()
Deprecated.
Has the persistent data already been initialised.
|
void |
reload()
Deprecated.
Restart with the latest configurations...
|
void |
reloadAdministrationConfiguration()
Deprecated.
Reloads the administration configuration from the xml.
|
void |
saveAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
Deprecated.
Persist the given administration information
|
void |
setPersisterOptions(PersisterOptions persisterOptions)
Deprecated.
Let the UI update the persister
|
@Deprecated void deleteBuildResults(ImmutableBuildable buildable, long buildNumber)
buildable
- buildNumber
- The build to remove@Deprecated void addBuildResults(ImmutableBuildable buildable, BuildResults buildResults)
buildable
- buildResults
- The build results we are adding@Nullable BuildResults getBuildResults(Key planKey, int buildNumber)
planKey
- buildNumber
- The build's build numbervoid saveAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
administrationConfiguration
- The data to persist@Deprecated AdministrationConfiguration getAdministrationConfiguration()
getAdministrationConfiguration(com.atlassian.bamboo.FeatureManager)
insteadAdministrationConfiguration getAdministrationConfiguration(@Nullable FeatureManager featureManager)
void reloadAdministrationConfiguration()
boolean isInitialised()
void reload()
void clear()
void setPersisterOptions(PersisterOptions persisterOptions)
persisterOptions
- File getDataDirectoryFile()
File getConfigurationDirectoryFile()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.