|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.continuum.DefaultContinuum
public class DefaultContinuum
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.continuum.Continuum |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultContinuum()
|
|
| 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 buildDefinitionTemplateId)
|
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 recursiveProjects)
Add a Maven 2 project to the list of projects. |
ContinuumProjectBuildingResult |
addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean recursiveProjects,
int buildDefinitionTemplateId,
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 groupId)
Add a project to the list of building projects (ant, shell,...) |
int |
addProject(Project project,
String executorId,
int groupId,
int buildDefinitionTemplateId)
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)
fire off a build for all of the projects in a project group using their default builds |
void |
buildProjectGroupWithBuildDefinition(int projectGroupId,
int buildDefinitionId,
BuildTrigger buildTrigger)
fire off a build for all of the projects in a project group using their default builds. |
void |
buildProjects(BuildTrigger buildTrigger)
fire of the builds of all projects across all project groups using their default build definitions TODO:Remove this method |
void |
buildProjects(Schedule schedule)
takes a given schedule and determines which projects need to build The build order is determined by the dependencies |
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)
|
protected void |
executeAction(String actionName,
Map<String,Object> context)
|
protected ContinuumProjectBuildingResult |
executeAddProjectsFromMetadataActivity(String metadataUrl,
String projectBuilderId,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean loadRecursiveProjects,
int buildDefinitionTemplateId,
boolean addAssignableRoles,
boolean checkoutInSingleDirectory)
|
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)
|
List<BuildDefinition> |
getBuildDefinitions(int projectId)
|
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)
TODO: Must be done by build definition |
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 userDirectory)
|
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()
TODO: Remove this method |
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()
TODO: Remove this method |
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 scheduleId)
|
Schedule |
getScheduleByName(String scheduleName)
|
Collection<Schedule> |
getSchedules()
|
TaskQueueManager |
getTaskQueueManager()
|
File |
getWorkingDirectory(int projectId)
|
void |
initialize()
|
void |
reloadConfiguration()
|
void |
removeBuildDefinition(int projectId,
int buildDefinitionId)
|
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 |
start()
|
void |
startup()
|
void |
stop()
|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContinuum()
| Method Detail |
|---|
public ContinuumReleaseManager getReleaseManager()
getReleaseManager in interface Continuumpublic ContinuumPurgeManager getPurgeManager()
getPurgeManager in interface Continuumpublic RepositoryService getRepositoryService()
getRepositoryService in interface Continuumpublic TaskQueueManager getTaskQueueManager()
getTaskQueueManager in interface Continuumpublic PurgeConfigurationService getPurgeConfigurationService()
getPurgeConfigurationService in interface Continuumpublic BuildsManager getBuildsManager()
getBuildsManager in interface Continuumpublic DistributedReleaseManager getDistributedReleaseManager()
getDistributedReleaseManager in interface Continuum
public ProjectGroup getProjectGroup(int projectGroupId)
throws ContinuumException
getProjectGroup in interface ContinuumContinuumException
public ProjectGroup getProjectGroupWithProjects(int projectGroupId)
throws ContinuumException
getProjectGroupWithProjects in interface ContinuumContinuumException
public ProjectGroup getProjectGroupByProjectId(int projectId)
throws ContinuumException
getProjectGroupByProjectId in interface ContinuumContinuumException
public void removeProjectGroup(int projectGroupId)
throws ContinuumException
removeProjectGroup in interface ContinuumContinuumException
public void addProjectGroup(ProjectGroup projectGroup)
throws ContinuumException
addProjectGroup in interface ContinuumContinuumExceptionpublic List<ProjectGroup> getAllProjectGroups()
getAllProjectGroups in interface Continuum
public ProjectGroup getProjectGroupByGroupId(String groupId)
throws ContinuumException
getProjectGroupByGroupId in interface ContinuumContinuumException
public ProjectGroup getProjectGroupByGroupIdWithBuildDetails(String groupId)
throws ContinuumException
getProjectGroupByGroupIdWithBuildDetails in interface ContinuumContinuumExceptionpublic List<ProjectGroup> getAllProjectGroupsWithRepository(int repositoryId)
getAllProjectGroupsWithRepository in interface Continuum
public Collection<Project> getProjects()
throws ContinuumException
getProjects in interface ContinuumContinuumException
public Collection<Project> getProjectsWithDependencies()
throws ContinuumException
getProjectsWithDependencies in interface ContinuumContinuumExceptionpublic Map<Integer,BuildResult> getLatestBuildResults(int projectGroupId)
getLatestBuildResults in interface Continuumpublic Map<Integer,BuildResult> getBuildResultsInSuccess(int projectGroupId)
getBuildResultsInSuccess in interface Continuumpublic BuildResult getLatestBuildResultForProject(int projectId)
getLatestBuildResultForProject in interface Continuum
public BuildResult getBuildResultByBuildNumber(int projectId,
int buildNumber)
throws ContinuumException
getBuildResultByBuildNumber in interface ContinuumContinuumException
public List<BuildResult> getBuildResultsInRange(int projectGroupId,
Date fromDate,
Date toDate,
int state,
String triggeredBy)
getBuildResultsInRange in interface Continuum
public void removeProject(int projectId)
throws ContinuumException
removeProject in interface ContinuumContinuumException
public void checkoutProject(int projectId)
throws ContinuumException
checkoutProject in interface ContinuumContinuumExceptionContinuum.checkoutProject(int)
public Project getProject(int projectId)
throws ContinuumException
getProject in interface ContinuumContinuumException
public Project getProjectWithBuildDetails(int projectId)
throws ContinuumException
getProjectWithBuildDetails in interface ContinuumContinuumExceptionpublic Map<Integer,ProjectGroupSummary> getProjectsSummaryByGroups()
getProjectsSummaryByGroups in interface Continuum
public void buildProjects(String username)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjects in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectsWithBuildDefinition(List<Project> projects,
List<BuildDefinition> bds)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjectsWithBuildDefinition in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectsWithBuildDefinition(List<Project> projects,
int buildDefinitionId)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjectsWithBuildDefinition in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjects(BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjects in interface ContinuumbuildTrigger -
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectGroup(int projectGroupId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjectGroup in interface ContinuumprojectGroupId - buildTrigger -
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectGroupWithBuildDefinition(int projectGroupId,
int buildDefinitionId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjectGroupWithBuildDefinition in interface ContinuumprojectGroupId - the project group idbuildDefinitionId - the build definition id to usebuildTrigger - the trigger state and the username
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjects(Schedule schedule)
throws ContinuumException
buildProjects in interface Continuumschedule - The schedule
ContinuumException
public void buildProject(int projectId,
String username)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProject in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectWithBuildDefinition(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProjectWithBuildDefinition in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProject(int projectId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProject in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProject(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
throws ContinuumException,
NoBuildAgentException,
NoBuildAgentInGroupException
buildProject in interface ContinuumContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public BuildResult getBuildResult(int buildId)
throws ContinuumException
getBuildResult in interface ContinuumContinuumException
public void removeBuildResult(int buildId)
throws ContinuumException
removeBuildResult in interface ContinuumContinuumException
public String getBuildOutput(int projectId,
int buildId)
throws ContinuumException
getBuildOutput in interface ContinuumContinuumException
public List<ChangeSet> getChangesSinceLastSuccess(int projectId,
int buildResultId)
throws ContinuumException
getChangesSinceLastSuccess in interface ContinuumContinuumExceptionpublic List<Project> getProjectsInBuildOrder(Collection<Project> projects)
getProjectsInBuildOrder in interface Continuumprojects -
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId)
throws ContinuumException
Continuum
addMavenOneProject in interface ContinuummetadataUrl - url of the project.xmlprojectGroupId - id of the project group to use
ContinuumException
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol)
throws ContinuumException
Continuum
addMavenOneProject in interface ContinuummetadataUrl - 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
ContinuumException
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache)
throws ContinuumException
Continuum
addMavenOneProject in interface ContinuummetadataUrl - 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
ContinuumException
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
int buildDefinitionTemplateId)
throws ContinuumException
addMavenOneProject in interface ContinuumContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - url of the pom.xml
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
boolean checkProtocol)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - url of the pom.xmlcheckProtocol - check if the protocol is allowed, use false if the pom is uploaded
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - url of the pom.xmlprojectGroupId - id of the project group to use
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - 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
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - 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
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean recursiveProjects)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - 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 notrecursiveProjects - if multi modules project record all projects (if false only root project added)
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean recursiveProjects,
int buildDefinitionTemplateId,
boolean checkoutInSingleDirectory)
throws ContinuumException
Continuum
addMavenTwoProject in interface ContinuummetadataUrl - 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 notrecursiveProjects - if multi modules project record all projects (if false only root project added)buildDefinitionTemplateId - buildDefintionTemplateIdcheckoutInSingleDirectory - TODO
ContinuumException
public int addProject(Project project,
String executorId,
int groupId)
throws ContinuumException
Continuum
addProject in interface Continuumproject - the project to addexecutorId - the id of an ContinuumBuildExecutor, eg. ant or shell
ContinuumException
public int addProject(Project project,
String executorId,
int groupId,
int buildDefinitionTemplateId)
throws ContinuumException
Continuum
addProject in interface Continuumproject - the project to addexecutorId - the id of an ContinuumBuildExecutor, eg. ant or shell
ContinuumExceptionContinuum.addProject(org.apache.maven.continuum.model.project.Project, java.lang.String, int, int)
protected ContinuumProjectBuildingResult executeAddProjectsFromMetadataActivity(String metadataUrl,
String projectBuilderId,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean loadRecursiveProjects,
int buildDefinitionTemplateId,
boolean addAssignableRoles,
boolean checkoutInSingleDirectory)
throws ContinuumException
ContinuumException
public ProjectNotifier getNotifier(int projectId,
int notifierId)
throws ContinuumException
getNotifier in interface ContinuumContinuumException
public ProjectNotifier getGroupNotifier(int projectGroupId,
int notifierId)
throws ContinuumException
getGroupNotifier in interface ContinuumContinuumException
public ProjectNotifier updateNotifier(int projectId,
ProjectNotifier notifier)
throws ContinuumException
updateNotifier in interface ContinuumContinuumException
public ProjectNotifier updateGroupNotifier(int projectGroupId,
ProjectNotifier notifier)
throws ContinuumException
updateGroupNotifier in interface ContinuumContinuumException
public ProjectNotifier addNotifier(int projectId,
ProjectNotifier notifier)
throws ContinuumException
addNotifier in interface ContinuumContinuumException
public ProjectNotifier addGroupNotifier(int projectGroupId,
ProjectNotifier notifier)
throws ContinuumException
addGroupNotifier in interface ContinuumContinuumException
public void removeNotifier(int projectId,
int notifierId)
throws ContinuumException
removeNotifier in interface ContinuumContinuumException
public void removeGroupNotifier(int projectGroupId,
int notifierId)
throws ContinuumException
removeGroupNotifier in interface ContinuumContinuumException
public List<BuildDefinition> getBuildDefinitions(int projectId)
throws ContinuumException
getBuildDefinitions in interface ContinuumContinuumException
public BuildDefinition getBuildDefinition(int projectId,
int buildDefinitionId)
throws ContinuumException
getBuildDefinition in interface ContinuumContinuumException
public BuildDefinition getDefaultBuildDefinition(int projectId)
throws ContinuumException
Continuum
getDefaultBuildDefinition in interface ContinuumContinuumException
public List<BuildDefinition> getDefaultBuildDefinitionsForProjectGroup(int projectGroupId)
throws ContinuumException
getDefaultBuildDefinitionsForProjectGroup in interface ContinuumContinuumException
public BuildDefinition getBuildDefinition(int buildDefinitionId)
throws ContinuumException
Continuum
getBuildDefinition in interface ContinuumContinuumException
public List<BuildDefinition> getBuildDefinitionsForProject(int projectId)
throws ContinuumException
getBuildDefinitionsForProject in interface ContinuumContinuumException
public List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId)
throws ContinuumException
getBuildDefinitionsForProjectGroup in interface ContinuumContinuumException
public BuildDefinition addBuildDefinitionToProject(int projectId,
BuildDefinition buildDefinition)
throws ContinuumException
addBuildDefinitionToProject in interface ContinuumContinuumException
public void removeBuildDefinitionFromProject(int projectId,
int buildDefinitionId)
throws ContinuumException
removeBuildDefinitionFromProject in interface ContinuumContinuumException
public BuildDefinition updateBuildDefinitionForProject(int projectId,
BuildDefinition buildDefinition)
throws ContinuumException
updateBuildDefinitionForProject in interface ContinuumContinuumException
public BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId,
BuildDefinition buildDefinition)
throws ContinuumException
addBuildDefinitionToProjectGroup in interface ContinuumContinuumException
public void removeBuildDefinitionFromProjectGroup(int projectGroupId,
int buildDefinitionId)
throws ContinuumException
removeBuildDefinitionFromProjectGroup in interface ContinuumContinuumException
public BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId,
BuildDefinition buildDefinition)
throws ContinuumException
updateBuildDefinitionForProjectGroup in interface ContinuumContinuumException
public void removeBuildDefinition(int projectId,
int buildDefinitionId)
throws ContinuumException
removeBuildDefinition in interface ContinuumContinuumException
public Schedule getSchedule(int scheduleId)
throws ContinuumException
getSchedule in interface ContinuumContinuumException
public Schedule getScheduleByName(String scheduleName)
throws ContinuumException
getScheduleByName in interface ContinuumContinuumException
public Collection<Schedule> getSchedules()
throws ContinuumException
getSchedules in interface ContinuumContinuumException
public void addSchedule(Schedule schedule)
throws ContinuumException
addSchedule in interface ContinuumContinuumException
public void updateSchedule(Schedule schedule)
throws ContinuumException
updateSchedule in interface ContinuumContinuumException
public void updateSchedule(int scheduleId,
Map<String,String> configuration)
throws ContinuumException
updateSchedule in interface ContinuumContinuumException
public void removeSchedule(int scheduleId)
throws ContinuumException
removeSchedule in interface ContinuumContinuumExceptionpublic void activePurgeSchedule(Schedule schedule)
activePurgeSchedule in interface Continuumpublic void activeBuildDefinitionSchedule(Schedule schedule)
activeBuildDefinitionSchedule in interface Continuum
public File getWorkingDirectory(int projectId)
throws ContinuumException
getWorkingDirectory in interface ContinuumContinuumException
public String getFileContent(int projectId,
String directory,
String filename)
throws ContinuumException
getFileContent in interface ContinuumContinuumException
public List<File> getFiles(int projectId,
String userDirectory)
throws ContinuumException
getFiles in interface ContinuumContinuumExceptionpublic ConfigurationService getConfiguration()
getConfiguration in interface Continuum
public void reloadConfiguration()
throws ContinuumException
reloadConfiguration in interface ContinuumContinuumException
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializableorg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public void start()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
start in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startableorg.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
public void stop()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
stop in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startableorg.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
public void startup()
throws ContinuumException
startup in interface ContinuumContinuumExceptionpublic long getNbBuildResultsForProject(int projectId)
getNbBuildResultsForProject in interface Continuum
public Collection<BuildResult> getBuildResultsForProject(int projectId)
throws ContinuumException
getBuildResultsForProject in interface ContinuumContinuumException
protected void executeAction(String actionName,
Map<String,Object> context)
throws ContinuumException
ContinuumException
public void updateProject(Project project)
throws ContinuumException
updateProject in interface ContinuumContinuumException
public void updateProjectGroup(ProjectGroup projectGroup)
throws ContinuumException
updateProjectGroup in interface ContinuumContinuumException
public Project getProjectWithCheckoutResult(int projectId)
throws ContinuumException
getProjectWithCheckoutResult in interface ContinuumContinuumException
public Project getProjectWithAllDetails(int projectId)
throws ContinuumException
getProjectWithAllDetails in interface ContinuumContinuumException
public ProjectGroup getProjectGroupWithBuildDetails(int projectGroupId)
throws ContinuumException
getProjectGroupWithBuildDetails in interface ContinuumContinuumException
public Project getProjectWithBuilds(int projectId)
throws ContinuumException
getProjectWithBuilds in interface ContinuumContinuumExceptionpublic List<ProjectGroup> getAllProjectGroupsWithBuildDetails()
getAllProjectGroupsWithBuildDetails in interface Continuum
public Collection<Project> getProjectsInGroup(int projectGroupId)
throws ContinuumException
getProjectsInGroup in interface ContinuumContinuumException
public Collection<Project> getProjectsInGroupWithDependencies(int projectGroupId)
throws ContinuumException
getProjectsInGroupWithDependencies in interface ContinuumContinuumExceptionpublic InstallationService getInstallationService()
getInstallationService in interface Continuumpublic ProfileService getProfileService()
getProfileService in interface Continuumpublic BuildDefinitionService getBuildDefinitionService()
getBuildDefinitionService in interface Continuum
public ContinuumReleaseResult addContinuumReleaseResult(int projectId,
String releaseId,
String releaseType)
throws ContinuumException
addContinuumReleaseResult in interface ContinuumContinuumException
public ContinuumReleaseResult addContinuumReleaseResult(ContinuumReleaseResult releaseResult)
throws ContinuumException
addContinuumReleaseResult in interface ContinuumContinuumException
public void removeContinuumReleaseResult(int releaseResultId)
throws ContinuumException
removeContinuumReleaseResult in interface ContinuumContinuumException
public ContinuumReleaseResult getContinuumReleaseResult(int releaseResultId)
throws ContinuumException
getContinuumReleaseResult in interface ContinuumContinuumExceptionpublic List<ContinuumReleaseResult> getAllContinuumReleaseResults()
getAllContinuumReleaseResults in interface Continuumpublic List<ContinuumReleaseResult> getContinuumReleaseResultsByProjectGroup(int projectGroupId)
getContinuumReleaseResultsByProjectGroup in interface Continuum
public ContinuumReleaseResult getContinuumReleaseResult(int projectId,
String releaseGoal,
long startTime,
long endTime)
throws ContinuumException
getContinuumReleaseResult in interface ContinuumContinuumException
public String getReleaseOutput(int releaseResultId)
throws ContinuumException
getReleaseOutput in interface ContinuumContinuumExceptionpublic List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
getProjectScmRootByProjectGroup in interface Continuum
public ProjectScmRoot getProjectScmRoot(int projectScmRootId)
throws ContinuumException
getProjectScmRoot in interface ContinuumContinuumException
public ProjectScmRoot getProjectScmRootByProject(int projectId)
throws ContinuumException
getProjectScmRootByProject in interface ContinuumContinuumException
public ProjectScmRoot getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId,
String scmRootAddress)
throws ContinuumException
getProjectScmRootByProjectGroupAndScmRootAddress in interface ContinuumContinuumException
public BuildQueue addBuildQueue(BuildQueue buildQueue)
throws ContinuumException
addBuildQueue in interface ContinuumContinuumException
public BuildQueue getBuildQueue(int buildQueueId)
throws ContinuumException
getBuildQueue in interface ContinuumContinuumException
public BuildQueue getBuildQueueByName(String buildQueueName)
throws ContinuumException
getBuildQueueByName in interface ContinuumContinuumException
public void removeBuildQueue(BuildQueue buildQueue)
throws ContinuumException
removeBuildQueue in interface ContinuumContinuumException
public BuildQueue storeBuildQueue(BuildQueue buildQueue)
throws ContinuumException
storeBuildQueue in interface ContinuumContinuumException
public List<BuildQueue> getAllBuildQueues()
throws ContinuumException
getAllBuildQueues in interface ContinuumContinuumExceptionpublic DistributedBuildManager getDistributedBuildManager()
getDistributedBuildManager in interface Continuum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||