org.apache.maven.continuum
Interface Continuum
- All Known Implementing Classes:
- DefaultContinuum
public interface Continuum
- Version:
- $Id: Continuum.java 1372260 2012-08-13 04:29:09Z brett $
- Author:
- Jason van Zyl, Trygve Laugstøl
|
Method Summary |
void |
activeBuildDefinitionSchedule(Schedule schedule)
|
void |
activePurgeSchedule(Schedule schedule)
|
BuildDefinition |
addBuildDefinitionToProject(int projectId,
BuildDefinition buildDefinition)
|
BuildDefinition |
addBuildDefinitionToProjectGroup(int projectGroupId,
BuildDefinition buildDefinition)
|
BuildQueue |
addBuildQueue(BuildQueue buildQueue)
|
ContinuumReleaseResult |
addContinuumReleaseResult(ContinuumReleaseResult releaseResult)
|
ContinuumReleaseResult |
addContinuumReleaseResult(int projectId,
String releaseId,
String releaseType)
|
ProjectNotifier |
addGroupNotifier(int projectGroupId,
ProjectNotifier notifier)
|
ContinuumProjectBuildingResult |
addMavenOneProject(String metadataUrl,
int projectGroupId)
Add a Maven 1 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol)
Add a Maven 1 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
int buildDefintionTemplateId)
|
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
boolean checkProtocol)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
int projectGroupId)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean loadRecursiveProjects)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean loadRecursiveProjects,
int buildDefintionTemplateId,
boolean checkoutInSingleDirectory)
Add a Maven 2 project to the list of projects. |
ProjectNotifier |
addNotifier(int projectId,
ProjectNotifier notifier)
|
int |
addProject(Project project,
String executorId,
int projectGroupId)
Add a project to the list of building projects (ant, shell,...) |
int |
addProject(Project project,
String executorId,
int projectGroupId,
int buildDefintionTemplateId)
Add a project to the list of building projects (ant, shell,...) |
void |
addProjectGroup(ProjectGroup projectGroup)
|
void |
addSchedule(Schedule schedule)
|
void |
buildProject(int projectId,
BuildTrigger buildTrigger)
|
void |
buildProject(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
|
void |
buildProject(int projectId,
String username)
|
void |
buildProjectGroup(int projectGroupId,
BuildTrigger buildTrigger)
|
void |
buildProjectGroupWithBuildDefinition(int projectGroupId,
int buildDefinitionId,
BuildTrigger buildTrigger)
|
void |
buildProjects(BuildTrigger buildTrigger)
|
void |
buildProjects(Schedule schedule)
|
void |
buildProjects(String username)
|
void |
buildProjectsWithBuildDefinition(List<Project> projects,
int buildDefinitionId)
|
void |
buildProjectsWithBuildDefinition(List<Project> projects,
List<BuildDefinition> bds)
|
void |
buildProjectWithBuildDefinition(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
|
void |
checkoutProject(int projectId)
Deprecated. |
List<BuildQueue> |
getAllBuildQueues()
|
List<ContinuumReleaseResult> |
getAllContinuumReleaseResults()
|
List<ProjectGroup> |
getAllProjectGroups()
|
List<ProjectGroup> |
getAllProjectGroupsWithBuildDetails()
|
List<ProjectGroup> |
getAllProjectGroupsWithRepository(int repositoryId)
|
BuildDefinition |
getBuildDefinition(int buildDefinitionId)
returns the build definition from either the project or the project group it is a part of |
BuildDefinition |
getBuildDefinition(int projectId,
int buildDefinitionId)
Deprecated. |
List<BuildDefinition> |
getBuildDefinitions(int projectId)
Deprecated. |
BuildDefinitionService |
getBuildDefinitionService()
|
List<BuildDefinition> |
getBuildDefinitionsForProject(int projectId)
|
List<BuildDefinition> |
getBuildDefinitionsForProjectGroup(int projectGroupId)
|
String |
getBuildOutput(int projectId,
int buildId)
|
BuildQueue |
getBuildQueue(int buildQueueId)
|
BuildQueue |
getBuildQueueByName(String buildQueueName)
|
BuildResult |
getBuildResult(int buildId)
|
BuildResult |
getBuildResultByBuildNumber(int projectId,
int buildNumber)
|
Collection<BuildResult> |
getBuildResultsForProject(int projectId)
|
List<BuildResult> |
getBuildResultsInRange(int projectGroupId,
Date fromDate,
Date toDate,
int state,
String triggeredBy)
|
Map<Integer,BuildResult> |
getBuildResultsInSuccess(int projectGroupId)
|
BuildsManager |
getBuildsManager()
|
List<ChangeSet> |
getChangesSinceLastSuccess(int projectId,
int buildResultId)
|
ConfigurationService |
getConfiguration()
|
ContinuumReleaseResult |
getContinuumReleaseResult(int releaseResultId)
|
ContinuumReleaseResult |
getContinuumReleaseResult(int projectId,
String releaseGoal,
long startTime,
long endTime)
|
List<ContinuumReleaseResult> |
getContinuumReleaseResultsByProjectGroup(int projectGroupId)
|
BuildDefinition |
getDefaultBuildDefinition(int projectId)
returns the default build definition for the project
1) if project has default build definition, return that
2) otherwise return default build definition for parent project group |
List<BuildDefinition> |
getDefaultBuildDefinitionsForProjectGroup(int projectGroupId)
|
DistributedBuildManager |
getDistributedBuildManager()
|
DistributedReleaseManager |
getDistributedReleaseManager()
|
String |
getFileContent(int projectId,
String directory,
String filename)
|
List<File> |
getFiles(int projectId,
String currentDirectory)
|
ProjectNotifier |
getGroupNotifier(int projectGroupId,
int notifierId)
|
InstallationService |
getInstallationService()
|
BuildResult |
getLatestBuildResultForProject(int projectId)
|
Map<Integer,BuildResult> |
getLatestBuildResults(int projectGroupId)
|
long |
getNbBuildResultsForProject(int projectId)
|
ProjectNotifier |
getNotifier(int projectId,
int notifierId)
|
ProfileService |
getProfileService()
|
Project |
getProject(int projectId)
|
ProjectGroup |
getProjectGroup(int projectGroupId)
|
ProjectGroup |
getProjectGroupByGroupId(String groupId)
|
ProjectGroup |
getProjectGroupByGroupIdWithBuildDetails(String groupId)
|
ProjectGroup |
getProjectGroupByProjectId(int projectId)
|
ProjectGroup |
getProjectGroupWithBuildDetails(int projectGroupId)
|
ProjectGroup |
getProjectGroupWithProjects(int projectGroupId)
|
Collection<Project> |
getProjects()
|
ProjectScmRoot |
getProjectScmRoot(int projectScmRootId)
|
ProjectScmRoot |
getProjectScmRootByProject(int projectId)
|
List<ProjectScmRoot> |
getProjectScmRootByProjectGroup(int projectGroupId)
|
ProjectScmRoot |
getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId,
String scmRootAddress)
|
List<Project> |
getProjectsInBuildOrder(Collection<Project> projects)
take a collection of projects and sort for order |
Collection<Project> |
getProjectsInGroup(int projectGroupId)
|
Collection<Project> |
getProjectsInGroupWithDependencies(int projectGroupId)
|
Map<Integer,ProjectGroupSummary> |
getProjectsSummaryByGroups()
|
Collection<Project> |
getProjectsWithDependencies()
|
Project |
getProjectWithAllDetails(int projectId)
|
Project |
getProjectWithBuildDetails(int projectId)
|
Project |
getProjectWithBuilds(int projectId)
|
Project |
getProjectWithCheckoutResult(int projectId)
|
PurgeConfigurationService |
getPurgeConfigurationService()
|
ContinuumPurgeManager |
getPurgeManager()
|
ContinuumReleaseManager |
getReleaseManager()
|
String |
getReleaseOutput(int releaseResultId)
|
RepositoryService |
getRepositoryService()
|
Schedule |
getSchedule(int id)
|
Schedule |
getScheduleByName(String scheduleName)
|
Collection<Schedule> |
getSchedules()
|
TaskQueueManager |
getTaskQueueManager()
|
File |
getWorkingDirectory(int projectId)
|
void |
reloadConfiguration()
|
void |
removeBuildDefinition(int projectId,
int buildDefinitionId)
Deprecated. |
void |
removeBuildDefinitionFromProject(int projectId,
int buildDefinitionId)
|
void |
removeBuildDefinitionFromProjectGroup(int projectGroupId,
int buildDefinitionId)
|
void |
removeBuildQueue(BuildQueue buildQueue)
|
void |
removeBuildResult(int buildId)
|
void |
removeContinuumReleaseResult(int releaseResultId)
|
void |
removeGroupNotifier(int projectGroupId,
int notifierId)
|
void |
removeNotifier(int projectId,
int notifierId)
|
void |
removeProject(int projectId)
|
void |
removeProjectGroup(int projectGroupId)
|
void |
removeSchedule(int scheduleId)
|
void |
startup()
|
BuildQueue |
storeBuildQueue(BuildQueue buildQueue)
|
BuildDefinition |
updateBuildDefinitionForProject(int projectId,
BuildDefinition buildDefinition)
|
BuildDefinition |
updateBuildDefinitionForProjectGroup(int projectGroupId,
BuildDefinition buildDefinition)
|
ProjectNotifier |
updateGroupNotifier(int projectGroupId,
ProjectNotifier notifier)
|
ProjectNotifier |
updateNotifier(int projectId,
ProjectNotifier notifier)
|
void |
updateProject(Project project)
|
void |
updateProjectGroup(ProjectGroup projectGroup)
|
void |
updateSchedule(int scheduleId,
Map<String,String> configuration)
|
void |
updateSchedule(Schedule schedule)
|
ROLE
static final String ROLE
getProjectGroup
ProjectGroup getProjectGroup(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
getAllProjectGroupsWithBuildDetails
List<ProjectGroup> getAllProjectGroupsWithBuildDetails()
getAllProjectGroups
List<ProjectGroup> getAllProjectGroups()
getProjectGroupByProjectId
ProjectGroup getProjectGroupByProjectId(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getProjectsInGroup
Collection<Project> getProjectsInGroup(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
getProjectsInGroupWithDependencies
Collection<Project> getProjectsInGroupWithDependencies(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
removeProjectGroup
void removeProjectGroup(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
addProjectGroup
void addProjectGroup(ProjectGroup projectGroup)
throws ContinuumException
- Throws:
ContinuumException
getProjectGroupWithProjects
ProjectGroup getProjectGroupWithProjects(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
getProjectGroupWithBuildDetails
ProjectGroup getProjectGroupWithBuildDetails(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
getProjectGroupByGroupId
ProjectGroup getProjectGroupByGroupId(String groupId)
throws ContinuumException
- Throws:
ContinuumException
getProjectGroupByGroupIdWithBuildDetails
ProjectGroup getProjectGroupByGroupIdWithBuildDetails(String groupId)
throws ContinuumException
- Throws:
ContinuumException
getAllProjectGroupsWithRepository
List<ProjectGroup> getAllProjectGroupsWithRepository(int repositoryId)
removeProject
void removeProject(int projectId)
throws ContinuumException
- Throws:
ContinuumException
checkoutProject
@Deprecated
void checkoutProject(int projectId)
throws ContinuumException
- Deprecated.
- Parameters:
projectId -
- Throws:
ContinuumException
getProject
Project getProject(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getProjectWithBuildDetails
Project getProjectWithBuildDetails(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getProjects
Collection<Project> getProjects()
throws ContinuumException
- Throws:
ContinuumException
getProjectsWithDependencies
Collection<Project> getProjectsWithDependencies()
throws ContinuumException
- Throws:
ContinuumException
getLatestBuildResultForProject
BuildResult getLatestBuildResultForProject(int projectId)
getLatestBuildResults
Map<Integer,BuildResult> getLatestBuildResults(int projectGroupId)
getBuildResultsInSuccess
Map<Integer,BuildResult> getBuildResultsInSuccess(int projectGroupId)
getProjectsSummaryByGroups
Map<Integer,ProjectGroupSummary> getProjectsSummaryByGroups()
getProjectsInBuildOrder
List<Project> getProjectsInBuildOrder(Collection<Project> projects)
- take a collection of projects and sort for order
- Parameters:
projects -
- Returns:
buildProjects
void buildProjects(String username)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjectsWithBuildDefinition
void buildProjectsWithBuildDefinition(List<Project> projects,
List<BuildDefinition> bds)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjectsWithBuildDefinition
void buildProjectsWithBuildDefinition(List<Project> projects,
int buildDefinitionId)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjects
void buildProjects(BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjects
void buildProjects(Schedule schedule)
throws ContinuumException
- Throws:
ContinuumException
buildProject
void buildProject(int projectId,
String username)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProject
void buildProject(int projectId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjectWithBuildDefinition
void buildProjectWithBuildDefinition(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProject
void buildProject(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjectGroup
void buildProjectGroup(int projectGroupId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
buildProjectGroupWithBuildDefinition
void buildProjectGroupWithBuildDefinition(int projectGroupId,
int buildDefinitionId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
- Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
getBuildResult
BuildResult getBuildResult(int buildId)
throws ContinuumException
- Throws:
ContinuumException
getBuildResultByBuildNumber
BuildResult getBuildResultByBuildNumber(int projectId,
int buildNumber)
throws ContinuumException
- Throws:
ContinuumException
getBuildOutput
String getBuildOutput(int projectId,
int buildId)
throws ContinuumException
- Throws:
ContinuumException
getNbBuildResultsForProject
long getNbBuildResultsForProject(int projectId)
getBuildResultsForProject
Collection<BuildResult> getBuildResultsForProject(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getChangesSinceLastSuccess
List<ChangeSet> getChangesSinceLastSuccess(int projectId,
int buildResultId)
throws ContinuumException
- Throws:
ContinuumException
removeBuildResult
void removeBuildResult(int buildId)
throws ContinuumException
- Throws:
ContinuumException
getBuildResultsInRange
List<BuildResult> getBuildResultsInRange(int projectGroupId,
Date fromDate,
Date toDate,
int state,
String triggeredBy)
addProject
int addProject(Project project,
String executorId,
int projectGroupId)
throws ContinuumException
- Add a project to the list of building projects (ant, shell,...)
- Parameters:
project - the project to addexecutorId - the id of an ContinuumBuildExecutor, eg. ant or shellprojectGroupId -
- Returns:
- id of the project
- Throws:
ContinuumException
addProject
int addProject(Project project,
String executorId,
int projectGroupId,
int buildDefintionTemplateId)
throws ContinuumException
- Add a project to the list of building projects (ant, shell,...)
- Parameters:
project - the project to addexecutorId - the id of an ContinuumBuildExecutor, eg. ant or shellprojectGroupId -
- Returns:
- id of the project
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xml
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
boolean checkProtocol)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlcheckProtocol - check if the protocol is allowed, use false if the pom is uploaded
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlprojectGroupId - id of the project group to use
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlprojectGroupId - id of the project group to usecheckProtocol - check if the protocol is allowed, use false if the pom is uploaded
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlprojectGroupId - id of the project group to usecheckProtocol - check if the protocol is allowed, use false if the pom is uploadeduseCredentialsCache - whether to use cached scm account credentials or not
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean loadRecursiveProjects)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlprojectGroupId - id of the project group to usecheckProtocol - check if the protocol is allowed, use false if the pom is uploadeduseCredentialsCache - whether to use cached scm account credentials or notloadRecursiveProjects - if multi modules project record all projects (if false only root project added)
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenTwoProject
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean loadRecursiveProjects,
int buildDefintionTemplateId,
boolean checkoutInSingleDirectory)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlprojectGroupId - id of the project group to usecheckProtocol - check if the protocol is allowed, use false if the pom is uploadeduseCredentialsCache - whether to use cached scm account credentials or notloadRecursiveProjects - if multi modules project record all projects (if false only root project added)buildDefintionTemplateId - buildDefintionTemplateIdcheckoutInSingleDirectory - TODO
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenOneProject
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId)
throws ContinuumException
- Add a Maven 1 project to the list of projects.
- Parameters:
metadataUrl - url of the project.xmlprojectGroupId - id of the project group to use
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenOneProject
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol)
throws ContinuumException
- Add a Maven 1 project to the list of projects.
- Parameters:
metadataUrl - url of the project.xmlprojectGroupId - id of the project group to usecheckProtocol - check if the protocol is allowed, use false if the pom is uploaded
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenOneProject
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache)
throws ContinuumException
- Add a Maven 2 project to the list of projects.
- Parameters:
metadataUrl - url of the pom.xmlprojectGroupId - id of the project group to usecheckProtocol - check if the protocol is allowed, use false if the pom is uploadeduseCredentialsCache - whether to use cached scm account credentials or not
- Returns:
- a holder with the projects, project groups and errors occurred during the project adding
- Throws:
ContinuumException
addMavenOneProject
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
int buildDefintionTemplateId)
throws ContinuumException
- Throws:
ContinuumException
updateProject
void updateProject(Project project)
throws ContinuumException
- Throws:
ContinuumException
updateProjectGroup
void updateProjectGroup(ProjectGroup projectGroup)
throws ContinuumException
- Throws:
ContinuumException
getProjectWithCheckoutResult
Project getProjectWithCheckoutResult(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getProjectWithAllDetails
Project getProjectWithAllDetails(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getProjectWithBuilds
Project getProjectWithBuilds(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getNotifier
ProjectNotifier getNotifier(int projectId,
int notifierId)
throws ContinuumException
- Throws:
ContinuumException
updateNotifier
ProjectNotifier updateNotifier(int projectId,
ProjectNotifier notifier)
throws ContinuumException
- Throws:
ContinuumException
addNotifier
ProjectNotifier addNotifier(int projectId,
ProjectNotifier notifier)
throws ContinuumException
- Throws:
ContinuumException
removeNotifier
void removeNotifier(int projectId,
int notifierId)
throws ContinuumException
- Throws:
ContinuumException
getGroupNotifier
ProjectNotifier getGroupNotifier(int projectGroupId,
int notifierId)
throws ContinuumException
- Throws:
ContinuumException
updateGroupNotifier
ProjectNotifier updateGroupNotifier(int projectGroupId,
ProjectNotifier notifier)
throws ContinuumException
- Throws:
ContinuumException
addGroupNotifier
ProjectNotifier addGroupNotifier(int projectGroupId,
ProjectNotifier notifier)
throws ContinuumException
- Throws:
ContinuumException
removeGroupNotifier
void removeGroupNotifier(int projectGroupId,
int notifierId)
throws ContinuumException
- Throws:
ContinuumException
getBuildDefinitions
@Deprecated
List<BuildDefinition> getBuildDefinitions(int projectId)
throws ContinuumException
- Deprecated.
- Throws:
ContinuumException
getBuildDefinition
@Deprecated
BuildDefinition getBuildDefinition(int projectId,
int buildDefinitionId)
throws ContinuumException
- Deprecated.
- Throws:
ContinuumException
removeBuildDefinition
@Deprecated
void removeBuildDefinition(int projectId,
int buildDefinitionId)
throws ContinuumException
- Deprecated.
- Throws:
ContinuumException
getBuildDefinition
BuildDefinition getBuildDefinition(int buildDefinitionId)
throws ContinuumException
- returns the build definition from either the project or the project group it is a part of
- Parameters:
buildDefinitionId -
- Returns:
-
- Throws:
ContinuumException
getDefaultBuildDefinition
BuildDefinition getDefaultBuildDefinition(int projectId)
throws ContinuumException
- returns the default build definition for the project
1) if project has default build definition, return that
2) otherwise return default build definition for parent project group
- Parameters:
projectId -
- Returns:
-
- Throws:
ContinuumException
getDefaultBuildDefinitionsForProjectGroup
List<BuildDefinition> getDefaultBuildDefinitionsForProjectGroup(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
addBuildDefinitionToProject
BuildDefinition addBuildDefinitionToProject(int projectId,
BuildDefinition buildDefinition)
throws ContinuumException
- Throws:
ContinuumException
addBuildDefinitionToProjectGroup
BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId,
BuildDefinition buildDefinition)
throws ContinuumException
- Throws:
ContinuumException
getBuildDefinitionsForProject
List<BuildDefinition> getBuildDefinitionsForProject(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getBuildDefinitionsForProjectGroup
List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId)
throws ContinuumException
- Throws:
ContinuumException
removeBuildDefinitionFromProject
void removeBuildDefinitionFromProject(int projectId,
int buildDefinitionId)
throws ContinuumException
- Throws:
ContinuumException
removeBuildDefinitionFromProjectGroup
void removeBuildDefinitionFromProjectGroup(int projectGroupId,
int buildDefinitionId)
throws ContinuumException
- Throws:
ContinuumException
updateBuildDefinitionForProject
BuildDefinition updateBuildDefinitionForProject(int projectId,
BuildDefinition buildDefinition)
throws ContinuumException
- Throws:
ContinuumException
updateBuildDefinitionForProjectGroup
BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId,
BuildDefinition buildDefinition)
throws ContinuumException
- Throws:
ContinuumException
getScheduleByName
Schedule getScheduleByName(String scheduleName)
throws ContinuumException
- Throws:
ContinuumException
getSchedule
Schedule getSchedule(int id)
throws ContinuumException
- Throws:
ContinuumException
getSchedules
Collection<Schedule> getSchedules()
throws ContinuumException
- Throws:
ContinuumException
addSchedule
void addSchedule(Schedule schedule)
throws ContinuumException
- Throws:
ContinuumException
updateSchedule
void updateSchedule(Schedule schedule)
throws ContinuumException
- Throws:
ContinuumException
updateSchedule
void updateSchedule(int scheduleId,
Map<String,String> configuration)
throws ContinuumException
- Throws:
ContinuumException
removeSchedule
void removeSchedule(int scheduleId)
throws ContinuumException
- Throws:
ContinuumException
activePurgeSchedule
void activePurgeSchedule(Schedule schedule)
activeBuildDefinitionSchedule
void activeBuildDefinitionSchedule(Schedule schedule)
getWorkingDirectory
File getWorkingDirectory(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getFileContent
String getFileContent(int projectId,
String directory,
String filename)
throws ContinuumException
- Throws:
ContinuumException
getFiles
List<File> getFiles(int projectId,
String currentDirectory)
throws ContinuumException
- Throws:
ContinuumException
getConfiguration
ConfigurationService getConfiguration()
reloadConfiguration
void reloadConfiguration()
throws ContinuumException
- Throws:
ContinuumException
getReleaseManager
ContinuumReleaseManager getReleaseManager()
getInstallationService
InstallationService getInstallationService()
getProfileService
ProfileService getProfileService()
getBuildDefinitionService
BuildDefinitionService getBuildDefinitionService()
getPurgeManager
ContinuumPurgeManager getPurgeManager()
getPurgeConfigurationService
PurgeConfigurationService getPurgeConfigurationService()
getRepositoryService
RepositoryService getRepositoryService()
getProjectScmRootByProjectGroup
List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
getProjectScmRoot
ProjectScmRoot getProjectScmRoot(int projectScmRootId)
throws ContinuumException
- Throws:
ContinuumException
getProjectScmRootByProject
ProjectScmRoot getProjectScmRootByProject(int projectId)
throws ContinuumException
- Throws:
ContinuumException
getProjectScmRootByProjectGroupAndScmRootAddress
ProjectScmRoot getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId,
String scmRootAddress)
throws ContinuumException
- Throws:
ContinuumException
getTaskQueueManager
TaskQueueManager getTaskQueueManager()
getBuildsManager
BuildsManager getBuildsManager()
addBuildQueue
BuildQueue addBuildQueue(BuildQueue buildQueue)
throws ContinuumException
- Throws:
ContinuumException
getBuildQueue
BuildQueue getBuildQueue(int buildQueueId)
throws ContinuumException
- Throws:
ContinuumException
getBuildQueueByName
BuildQueue getBuildQueueByName(String buildQueueName)
throws ContinuumException
- Throws:
ContinuumException
removeBuildQueue
void removeBuildQueue(BuildQueue buildQueue)
throws ContinuumException
- Throws:
ContinuumException
storeBuildQueue
BuildQueue storeBuildQueue(BuildQueue buildQueue)
throws ContinuumException
- Throws:
ContinuumException
getAllBuildQueues
List<BuildQueue> getAllBuildQueues()
throws ContinuumException
- Throws:
ContinuumException
startup
void startup()
throws ContinuumException
- Throws:
ContinuumException
addContinuumReleaseResult
ContinuumReleaseResult addContinuumReleaseResult(int projectId,
String releaseId,
String releaseType)
throws ContinuumException
- Throws:
ContinuumException
addContinuumReleaseResult
ContinuumReleaseResult addContinuumReleaseResult(ContinuumReleaseResult releaseResult)
throws ContinuumException
- Throws:
ContinuumException
removeContinuumReleaseResult
void removeContinuumReleaseResult(int releaseResultId)
throws ContinuumException
- Throws:
ContinuumException
getContinuumReleaseResult
ContinuumReleaseResult getContinuumReleaseResult(int releaseResultId)
throws ContinuumException
- Throws:
ContinuumException
getContinuumReleaseResultsByProjectGroup
List<ContinuumReleaseResult> getContinuumReleaseResultsByProjectGroup(int projectGroupId)
getAllContinuumReleaseResults
List<ContinuumReleaseResult> getAllContinuumReleaseResults()
getContinuumReleaseResult
ContinuumReleaseResult getContinuumReleaseResult(int projectId,
String releaseGoal,
long startTime,
long endTime)
throws ContinuumException
- Throws:
ContinuumException
getReleaseOutput
String getReleaseOutput(int releaseResultId)
throws ContinuumException
- Throws:
ContinuumException
getDistributedBuildManager
DistributedBuildManager getDistributedBuildManager()
getDistributedReleaseManager
DistributedReleaseManager getDistributedReleaseManager()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.