|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Continuum
public ContinuumPurgeManager getPurgeManager()
getPurgeManager
in interface Continuum
public RepositoryService getRepositoryService()
getRepositoryService
in interface Continuum
public TaskQueueManager getTaskQueueManager()
getTaskQueueManager
in interface Continuum
public PurgeConfigurationService getPurgeConfigurationService()
getPurgeConfigurationService
in interface Continuum
public BuildsManager getBuildsManager()
getBuildsManager
in interface Continuum
public DistributedReleaseManager getDistributedReleaseManager()
getDistributedReleaseManager
in interface Continuum
public ProjectGroup getProjectGroup(int projectGroupId) throws ContinuumException
getProjectGroup
in interface Continuum
ContinuumException
public ProjectGroup getProjectGroupWithProjects(int projectGroupId) throws ContinuumException
getProjectGroupWithProjects
in interface Continuum
ContinuumException
public ProjectGroup getProjectGroupByProjectId(int projectId) throws ContinuumException
getProjectGroupByProjectId
in interface Continuum
ContinuumException
public void removeProjectGroup(int projectGroupId) throws ContinuumException
removeProjectGroup
in interface Continuum
ContinuumException
public void addProjectGroup(ProjectGroup projectGroup) throws ContinuumException
addProjectGroup
in interface Continuum
ContinuumException
public List<ProjectGroup> getAllProjectGroups()
getAllProjectGroups
in interface Continuum
public ProjectGroup getProjectGroupByGroupId(String groupId) throws ContinuumException
getProjectGroupByGroupId
in interface Continuum
ContinuumException
public ProjectGroup getProjectGroupByGroupIdWithBuildDetails(String groupId) throws ContinuumException
getProjectGroupByGroupIdWithBuildDetails
in interface Continuum
ContinuumException
public List<ProjectGroup> getAllProjectGroupsWithRepository(int repositoryId)
getAllProjectGroupsWithRepository
in interface Continuum
public Collection<Project> getProjects() throws ContinuumException
getProjects
in interface Continuum
ContinuumException
public Collection<Project> getProjectsWithDependencies() throws ContinuumException
getProjectsWithDependencies
in interface Continuum
ContinuumException
public Map<Integer,BuildResult> getLatestBuildResults(int projectGroupId)
getLatestBuildResults
in interface Continuum
public Map<Integer,BuildResult> getBuildResultsInSuccess(int projectGroupId)
getBuildResultsInSuccess
in interface Continuum
public BuildResult getLatestBuildResultForProject(int projectId)
getLatestBuildResultForProject
in interface Continuum
public BuildResult getBuildResultByBuildNumber(int projectId, int buildNumber) throws ContinuumException
getBuildResultByBuildNumber
in interface Continuum
ContinuumException
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 Continuum
ContinuumException
public void checkoutProject(int projectId) throws ContinuumException
checkoutProject
in interface Continuum
ContinuumException
Continuum.checkoutProject(int)
public Project getProject(int projectId) throws ContinuumException
getProject
in interface Continuum
ContinuumException
public Project getProjectWithBuildDetails(int projectId) throws ContinuumException
getProjectWithBuildDetails
in interface Continuum
ContinuumException
public Map<Integer,ProjectGroupSummary> getProjectsSummaryByGroups()
getProjectsSummaryByGroups
in interface Continuum
public void buildProjects(String username) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjects
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectsWithBuildDefinition(List<Project> projects, List<BuildDefinition> bds) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjectsWithBuildDefinition
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectsWithBuildDefinition(List<Project> projects, int buildDefinitionId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjectsWithBuildDefinition
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjects(BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjects
in interface Continuum
buildTrigger
-
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectGroup(int projectGroupId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjectGroup
in interface Continuum
projectGroupId
- buildTrigger
-
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectGroupWithBuildDefinition(int projectGroupId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjectGroupWithBuildDefinition
in interface Continuum
projectGroupId
- 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 Continuum
schedule
- The schedule
ContinuumException
public void buildProject(int projectId, String username) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProject
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProjectWithBuildDefinition(int projectId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProjectWithBuildDefinition
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProject(int projectId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProject
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public void buildProject(int projectId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
buildProject
in interface Continuum
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public BuildResult getBuildResult(int buildId) throws ContinuumException
getBuildResult
in interface Continuum
ContinuumException
public void removeBuildResult(int buildId) throws ContinuumException
removeBuildResult
in interface Continuum
ContinuumException
public String getBuildOutput(int projectId, int buildId) throws ContinuumException
getBuildOutput
in interface Continuum
ContinuumException
public List<ChangeSet> getChangesSinceLastSuccess(int projectId, int buildResultId) throws ContinuumException
getChangesSinceLastSuccess
in interface Continuum
ContinuumException
public List<Project> getProjectsInBuildOrder(Collection<Project> projects)
getProjectsInBuildOrder
in interface Continuum
projects
-
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId) throws ContinuumException
Continuum
addMavenOneProject
in interface Continuum
metadataUrl
- 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 Continuum
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
ContinuumException
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache) throws ContinuumException
Continuum
addMavenOneProject
in interface Continuum
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
ContinuumException
public ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, int buildDefinitionTemplateId) throws ContinuumException
addMavenOneProject
in interface Continuum
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl) throws ContinuumException
Continuum
addMavenTwoProject
in interface Continuum
metadataUrl
- url of the pom.xml
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, boolean checkProtocol) throws ContinuumException
Continuum
addMavenTwoProject
in interface Continuum
metadataUrl
- 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 Continuum
metadataUrl
- 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 Continuum
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
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache) throws ContinuumException
Continuum
addMavenTwoProject
in interface Continuum
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
ContinuumException
public ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean recursiveProjects) throws ContinuumException
Continuum
addMavenTwoProject
in interface Continuum
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 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 Continuum
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 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 Continuum
project
- 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 Continuum
project
- the project to addexecutorId
- the id of an ContinuumBuildExecutor
, eg. ant
or shell
ContinuumException
Continuum.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 Continuum
ContinuumException
public ProjectNotifier getGroupNotifier(int projectGroupId, int notifierId) throws ContinuumException
getGroupNotifier
in interface Continuum
ContinuumException
public ProjectNotifier updateNotifier(int projectId, ProjectNotifier notifier) throws ContinuumException
updateNotifier
in interface Continuum
ContinuumException
public ProjectNotifier updateGroupNotifier(int projectGroupId, ProjectNotifier notifier) throws ContinuumException
updateGroupNotifier
in interface Continuum
ContinuumException
public ProjectNotifier addNotifier(int projectId, ProjectNotifier notifier) throws ContinuumException
addNotifier
in interface Continuum
ContinuumException
public ProjectNotifier addGroupNotifier(int projectGroupId, ProjectNotifier notifier) throws ContinuumException
addGroupNotifier
in interface Continuum
ContinuumException
public void removeNotifier(int projectId, int notifierId) throws ContinuumException
removeNotifier
in interface Continuum
ContinuumException
public void removeGroupNotifier(int projectGroupId, int notifierId) throws ContinuumException
removeGroupNotifier
in interface Continuum
ContinuumException
public List<BuildDefinition> getBuildDefinitions(int projectId) throws ContinuumException
getBuildDefinitions
in interface Continuum
ContinuumException
public BuildDefinition getBuildDefinition(int projectId, int buildDefinitionId) throws ContinuumException
getBuildDefinition
in interface Continuum
ContinuumException
public BuildDefinition getDefaultBuildDefinition(int projectId) throws ContinuumException
Continuum
getDefaultBuildDefinition
in interface Continuum
ContinuumException
public List<BuildDefinition> getDefaultBuildDefinitionsForProjectGroup(int projectGroupId) throws ContinuumException
getDefaultBuildDefinitionsForProjectGroup
in interface Continuum
ContinuumException
public BuildDefinition getBuildDefinition(int buildDefinitionId) throws ContinuumException
Continuum
getBuildDefinition
in interface Continuum
ContinuumException
public List<BuildDefinition> getBuildDefinitionsForProject(int projectId) throws ContinuumException
getBuildDefinitionsForProject
in interface Continuum
ContinuumException
public List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId) throws ContinuumException
getBuildDefinitionsForProjectGroup
in interface Continuum
ContinuumException
public BuildDefinition addBuildDefinitionToProject(int projectId, BuildDefinition buildDefinition) throws ContinuumException
addBuildDefinitionToProject
in interface Continuum
ContinuumException
public void removeBuildDefinitionFromProject(int projectId, int buildDefinitionId) throws ContinuumException
removeBuildDefinitionFromProject
in interface Continuum
ContinuumException
public BuildDefinition updateBuildDefinitionForProject(int projectId, BuildDefinition buildDefinition) throws ContinuumException
updateBuildDefinitionForProject
in interface Continuum
ContinuumException
public BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId, BuildDefinition buildDefinition) throws ContinuumException
addBuildDefinitionToProjectGroup
in interface Continuum
ContinuumException
public void removeBuildDefinitionFromProjectGroup(int projectGroupId, int buildDefinitionId) throws ContinuumException
removeBuildDefinitionFromProjectGroup
in interface Continuum
ContinuumException
public BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId, BuildDefinition buildDefinition) throws ContinuumException
updateBuildDefinitionForProjectGroup
in interface Continuum
ContinuumException
public void removeBuildDefinition(int projectId, int buildDefinitionId) throws ContinuumException
removeBuildDefinition
in interface Continuum
ContinuumException
public Schedule getSchedule(int scheduleId) throws ContinuumException
getSchedule
in interface Continuum
ContinuumException
public Schedule getScheduleByName(String scheduleName) throws ContinuumException
getScheduleByName
in interface Continuum
ContinuumException
public Collection<Schedule> getSchedules() throws ContinuumException
getSchedules
in interface Continuum
ContinuumException
public void addSchedule(Schedule schedule) throws ContinuumException
addSchedule
in interface Continuum
ContinuumException
public void updateSchedule(Schedule schedule) throws ContinuumException
updateSchedule
in interface Continuum
ContinuumException
public void updateSchedule(int scheduleId, Map<String,String> configuration) throws ContinuumException
updateSchedule
in interface Continuum
ContinuumException
public void removeSchedule(int scheduleId) throws ContinuumException
removeSchedule
in interface Continuum
ContinuumException
public void activePurgeSchedule(Schedule schedule)
activePurgeSchedule
in interface Continuum
public void activeBuildDefinitionSchedule(Schedule schedule)
activeBuildDefinitionSchedule
in interface Continuum
public File getWorkingDirectory(int projectId) throws ContinuumException
getWorkingDirectory
in interface Continuum
ContinuumException
public String getFileContent(int projectId, String directory, String filename) throws ContinuumException
getFileContent
in interface Continuum
ContinuumException
public List<File> getFiles(int projectId, String userDirectory) throws ContinuumException
getFiles
in interface Continuum
ContinuumException
public ConfigurationService getConfiguration()
getConfiguration
in interface Continuum
public void reloadConfiguration() throws ContinuumException
reloadConfiguration
in interface Continuum
ContinuumException
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.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.Startable
org.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.Startable
org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
public void startup() throws ContinuumException
startup
in interface Continuum
ContinuumException
public long getNbBuildResultsForProject(int projectId)
getNbBuildResultsForProject
in interface Continuum
public Collection<BuildResult> getBuildResultsForProject(int projectId) throws ContinuumException
getBuildResultsForProject
in interface Continuum
ContinuumException
protected void executeAction(String actionName, Map<String,Object> context) throws ContinuumException
ContinuumException
public void updateProject(Project project) throws ContinuumException
updateProject
in interface Continuum
ContinuumException
public void updateProjectGroup(ProjectGroup projectGroup) throws ContinuumException
updateProjectGroup
in interface Continuum
ContinuumException
public Project getProjectWithCheckoutResult(int projectId) throws ContinuumException
getProjectWithCheckoutResult
in interface Continuum
ContinuumException
public Project getProjectWithAllDetails(int projectId) throws ContinuumException
getProjectWithAllDetails
in interface Continuum
ContinuumException
public ProjectGroup getProjectGroupWithBuildDetails(int projectGroupId) throws ContinuumException
getProjectGroupWithBuildDetails
in interface Continuum
ContinuumException
public Project getProjectWithBuilds(int projectId) throws ContinuumException
getProjectWithBuilds
in interface Continuum
ContinuumException
public List<ProjectGroup> getAllProjectGroupsWithBuildDetails()
getAllProjectGroupsWithBuildDetails
in interface Continuum
public Collection<Project> getProjectsInGroup(int projectGroupId) throws ContinuumException
getProjectsInGroup
in interface Continuum
ContinuumException
public Collection<Project> getProjectsInGroupWithDependencies(int projectGroupId) throws ContinuumException
getProjectsInGroupWithDependencies
in interface Continuum
ContinuumException
public InstallationService getInstallationService()
getInstallationService
in interface Continuum
public ProfileService getProfileService()
getProfileService
in interface Continuum
public BuildDefinitionService getBuildDefinitionService()
getBuildDefinitionService
in interface Continuum
public ContinuumReleaseResult addContinuumReleaseResult(int projectId, String releaseId, String releaseType) throws ContinuumException
addContinuumReleaseResult
in interface Continuum
ContinuumException
public ContinuumReleaseResult addContinuumReleaseResult(ContinuumReleaseResult releaseResult) throws ContinuumException
addContinuumReleaseResult
in interface Continuum
ContinuumException
public void removeContinuumReleaseResult(int releaseResultId) throws ContinuumException
removeContinuumReleaseResult
in interface Continuum
ContinuumException
public ContinuumReleaseResult getContinuumReleaseResult(int releaseResultId) throws ContinuumException
getContinuumReleaseResult
in interface Continuum
ContinuumException
public List<ContinuumReleaseResult> getAllContinuumReleaseResults()
getAllContinuumReleaseResults
in interface Continuum
public 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 Continuum
ContinuumException
public String getReleaseOutput(int releaseResultId) throws ContinuumException
getReleaseOutput
in interface Continuum
ContinuumException
public List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
getProjectScmRootByProjectGroup
in interface Continuum
public ProjectScmRoot getProjectScmRoot(int projectScmRootId) throws ContinuumException
getProjectScmRoot
in interface Continuum
ContinuumException
public ProjectScmRoot getProjectScmRootByProject(int projectId) throws ContinuumException
getProjectScmRootByProject
in interface Continuum
ContinuumException
public ProjectScmRoot getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId, String scmRootAddress) throws ContinuumException
getProjectScmRootByProjectGroupAndScmRootAddress
in interface Continuum
ContinuumException
public BuildQueue addBuildQueue(BuildQueue buildQueue) throws ContinuumException
addBuildQueue
in interface Continuum
ContinuumException
public BuildQueue getBuildQueue(int buildQueueId) throws ContinuumException
getBuildQueue
in interface Continuum
ContinuumException
public BuildQueue getBuildQueueByName(String buildQueueName) throws ContinuumException
getBuildQueueByName
in interface Continuum
ContinuumException
public void removeBuildQueue(BuildQueue buildQueue) throws ContinuumException
removeBuildQueue
in interface Continuum
ContinuumException
public BuildQueue storeBuildQueue(BuildQueue buildQueue) throws ContinuumException
storeBuildQueue
in interface Continuum
ContinuumException
public List<BuildQueue> getAllBuildQueues() throws ContinuumException
getAllBuildQueues
in interface Continuum
ContinuumException
public DistributedBuildManager getDistributedBuildManager()
getDistributedBuildManager
in interface Continuum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |