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

Field Summary
static String DEFAULT_BUILD_QUEUE_NAME
           
static String DEFAULT_SCHEDULE_NAME
           
static String ROLE
           
 
Method Summary
 void addBuildAgent(BuildAgentConfiguration buildAgent)
           
 void addBuildAgent(BuildAgentGroupConfiguration buildAgentGroup, BuildAgentConfiguration buildAgent)
           
 void addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
           
 boolean containsBuildAgentUrl(String buildAgentUrl, BuildAgentGroupConfiguration buildAgentGroup)
           
 File getApplicationHome()
           
 BuildAgentConfiguration getBuildAgent(String url)
           
 BuildAgentGroupConfiguration getBuildAgentGroup(String name)
           
 List<BuildAgentGroupConfiguration> getBuildAgentGroups()
           
 List<BuildAgentConfiguration> getBuildAgents()
           
 String getBuildOutput(int buildId, int projectId)
           
 File getBuildOutputDirectory()
           
 File getBuildOutputDirectory(int projectId)
           
 File getBuildOutputFile(int buildId, int projectId)
           
 BuildQueue getDefaultBuildQueue()
           
 Schedule getDefaultSchedule()
           
 File getDeploymentRepositoryDirectory()
           
 File getFile(String filename)
           
 int getNumberOfBuildsInParallel()
           
 String getReleaseOutput(int projectGroupId, String releaseName)
           
 File getReleaseOutputDirectory()
           
 File getReleaseOutputDirectory(int projectGroupId)
           
 File getReleaseOutputFile(int projectGroupId, String releaseName)
           
 String getSharedSecretPassword()
           
 File getTestReportsDirectory(int buildId, int projectId)
           
 String getUrl()
           
 File getWorkingDirectory()
           
 boolean isDistributedBuildEnabled()
           
 boolean isInitialized()
           
 boolean isLoaded()
           
 void reload()
           
 void removeBuildAgent(BuildAgentConfiguration buildAgent)
           
 void removeBuildAgent(BuildAgentGroupConfiguration buildAgentGroup, BuildAgentConfiguration buildAgent)
           
 void removeBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
           
 void setBuildOutputDirectory(File buildOutputDirectory)
           
 void setDeploymentRepositoryDirectory(File deploymentRepositoryDirectory)
           
 void setDistributedBuildEnabled(boolean distributedBuildEnabled)
           
 void setInitialized(boolean initialized)
           
 void setNumberOfBuildsInParallel(int num)
           
 void setReleaseOutputDirectory(File releaseOutputDirectory)
           
 void setSharedSecretPassword(String sharedSecretPassword)
           
 void setUrl(String url)
           
 void setWorkingDirectory(File workingDirectory)
           
 void store()
           
 void updateBuildAgent(BuildAgentConfiguration buildAgent)
           
 void updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
           
 

Field Detail

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

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.