org.apache.maven.continuum.configuration
Interface ConfigurationService
- All Known Implementing Classes:
- ConfigurationServiceMock, DefaultConfigurationService
public interface ConfigurationService
- Version:
- $Id: ConfigurationService.java 1372260 2012-08-13 04:29:09Z brett $
- Author:
- Jason van Zyl
ROLE
static final String ROLE
DEFAULT_SCHEDULE_NAME
static final String DEFAULT_SCHEDULE_NAME
- See Also:
- Constant Field Values
DEFAULT_BUILD_QUEUE_NAME
static final String DEFAULT_BUILD_QUEUE_NAME
- See Also:
- Constant Field Values
getApplicationHome
File getApplicationHome()
isInitialized
boolean isInitialized()
setInitialized
void setInitialized(boolean initialized)
getUrl
String getUrl()
setUrl
void setUrl(String url)
getBuildOutputDirectory
File getBuildOutputDirectory()
setBuildOutputDirectory
void setBuildOutputDirectory(File buildOutputDirectory)
getWorkingDirectory
File getWorkingDirectory()
setWorkingDirectory
void setWorkingDirectory(File workingDirectory)
getDeploymentRepositoryDirectory
File getDeploymentRepositoryDirectory()
setDeploymentRepositoryDirectory
void setDeploymentRepositoryDirectory(File deploymentRepositoryDirectory)
getBuildOutput
String getBuildOutput(int buildId,
int projectId)
throws ConfigurationException
- Throws:
ConfigurationException
getBuildOutputDirectory
File getBuildOutputDirectory(int projectId)
getBuildOutputFile
File getBuildOutputFile(int buildId,
int projectId)
throws ConfigurationException
- Throws:
ConfigurationException
getTestReportsDirectory
File getTestReportsDirectory(int buildId,
int projectId)
throws ConfigurationException
- Throws:
ConfigurationException
getReleaseOutputDirectory
File getReleaseOutputDirectory()
setReleaseOutputDirectory
void setReleaseOutputDirectory(File releaseOutputDirectory)
getReleaseOutputDirectory
File getReleaseOutputDirectory(int projectGroupId)
getReleaseOutputFile
File getReleaseOutputFile(int projectGroupId,
String releaseName)
throws ConfigurationException
- Throws:
ConfigurationException
getReleaseOutput
String getReleaseOutput(int projectGroupId,
String releaseName)
throws ConfigurationException
- Throws:
ConfigurationException
getNumberOfBuildsInParallel
int getNumberOfBuildsInParallel()
setNumberOfBuildsInParallel
void setNumberOfBuildsInParallel(int num)
getDefaultBuildQueue
BuildQueue getDefaultBuildQueue()
throws BuildQueueServiceException
- Throws:
BuildQueueServiceException
getBuildAgents
List<BuildAgentConfiguration> getBuildAgents()
addBuildAgent
void addBuildAgent(BuildAgentConfiguration buildAgent)
throws ConfigurationException
- Throws:
ConfigurationException
removeBuildAgent
void removeBuildAgent(BuildAgentConfiguration buildAgent)
updateBuildAgent
void updateBuildAgent(BuildAgentConfiguration buildAgent)
isDistributedBuildEnabled
boolean isDistributedBuildEnabled()
setDistributedBuildEnabled
void setDistributedBuildEnabled(boolean distributedBuildEnabled)
addBuildAgentGroup
void addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
throws ConfigurationException
- Throws:
ConfigurationException
removeBuildAgentGroup
void removeBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
throws ConfigurationException
- Throws:
ConfigurationException
updateBuildAgentGroup
void updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
throws ConfigurationException
- Throws:
ConfigurationException
addBuildAgent
void addBuildAgent(BuildAgentGroupConfiguration buildAgentGroup,
BuildAgentConfiguration buildAgent)
throws ConfigurationException
- Throws:
ConfigurationException
removeBuildAgent
void removeBuildAgent(BuildAgentGroupConfiguration buildAgentGroup,
BuildAgentConfiguration buildAgent)
throws ConfigurationException
- Throws:
ConfigurationException
getBuildAgentGroup
BuildAgentGroupConfiguration getBuildAgentGroup(String name)
getBuildAgent
BuildAgentConfiguration getBuildAgent(String url)
getBuildAgentGroups
List<BuildAgentGroupConfiguration> getBuildAgentGroups()
containsBuildAgentUrl
boolean containsBuildAgentUrl(String buildAgentUrl,
BuildAgentGroupConfiguration buildAgentGroup)
setSharedSecretPassword
void setSharedSecretPassword(String sharedSecretPassword)
getSharedSecretPassword
String getSharedSecretPassword()
getFile
File getFile(String filename)
isLoaded
boolean isLoaded()
reload
void reload()
throws ConfigurationLoadingException,
ContinuumConfigurationException
- Throws:
ConfigurationLoadingException
ContinuumConfigurationException
store
void store()
throws ConfigurationStoringException,
ContinuumConfigurationException
- Throws:
ConfigurationStoringException
ContinuumConfigurationException
getDefaultSchedule
Schedule getDefaultSchedule()
throws ContinuumStoreException,
ConfigurationLoadingException,
ContinuumConfigurationException,
BuildQueueServiceException
- Throws:
ContinuumStoreException
ConfigurationLoadingException
ContinuumConfigurationException
BuildQueueServiceException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.