|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Continuum
Field Summary | |
---|---|
static String |
ROLE
|
Field Detail |
---|
static final String ROLE
Method Detail |
---|
ProjectGroup getProjectGroup(int projectGroupId) throws ContinuumException
ContinuumException
List<ProjectGroup> getAllProjectGroupsWithBuildDetails()
List<ProjectGroup> getAllProjectGroups()
ProjectGroup getProjectGroupByProjectId(int projectId) throws ContinuumException
ContinuumException
Collection<Project> getProjectsInGroup(int projectGroupId) throws ContinuumException
ContinuumException
Collection<Project> getProjectsInGroupWithDependencies(int projectGroupId) throws ContinuumException
ContinuumException
void removeProjectGroup(int projectGroupId) throws ContinuumException
ContinuumException
void addProjectGroup(ProjectGroup projectGroup) throws ContinuumException
ContinuumException
ProjectGroup getProjectGroupWithProjects(int projectGroupId) throws ContinuumException
ContinuumException
ProjectGroup getProjectGroupWithBuildDetails(int projectGroupId) throws ContinuumException
ContinuumException
ProjectGroup getProjectGroupByGroupId(String groupId) throws ContinuumException
ContinuumException
ProjectGroup getProjectGroupByGroupIdWithBuildDetails(String groupId) throws ContinuumException
ContinuumException
List<ProjectGroup> getAllProjectGroupsWithRepository(int repositoryId)
void removeProject(int projectId) throws ContinuumException
ContinuumException
@Deprecated void checkoutProject(int projectId) throws ContinuumException
projectId
-
ContinuumException
Project getProject(int projectId) throws ContinuumException
ContinuumException
Project getProjectWithBuildDetails(int projectId) throws ContinuumException
ContinuumException
Collection<Project> getProjects() throws ContinuumException
ContinuumException
Collection<Project> getProjectsWithDependencies() throws ContinuumException
ContinuumException
BuildResult getLatestBuildResultForProject(int projectId)
Map<Integer,BuildResult> getLatestBuildResults(int projectGroupId)
Map<Integer,BuildResult> getBuildResultsInSuccess(int projectGroupId)
Map<Integer,ProjectGroupSummary> getProjectsSummaryByGroups()
List<Project> getProjectsInBuildOrder(Collection<Project> projects)
projects
-
void buildProjects(String username) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjectsWithBuildDefinition(List<Project> projects, List<BuildDefinition> bds) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjectsWithBuildDefinition(List<Project> projects, int buildDefinitionId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjects(BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjects(Schedule schedule) throws ContinuumException
ContinuumException
void buildProject(int projectId, String username) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProject(int projectId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjectWithBuildDefinition(int projectId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProject(int projectId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjectGroup(int projectGroupId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
void buildProjectGroupWithBuildDefinition(int projectGroupId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
BuildResult getBuildResult(int buildId) throws ContinuumException
ContinuumException
BuildResult getBuildResultByBuildNumber(int projectId, int buildNumber) throws ContinuumException
ContinuumException
String getBuildOutput(int projectId, int buildId) throws ContinuumException
ContinuumException
long getNbBuildResultsForProject(int projectId)
Collection<BuildResult> getBuildResultsForProject(int projectId) throws ContinuumException
ContinuumException
List<ChangeSet> getChangesSinceLastSuccess(int projectId, int buildResultId) throws ContinuumException
ContinuumException
void removeBuildResult(int buildId) throws ContinuumException
ContinuumException
List<BuildResult> getBuildResultsInRange(int projectGroupId, Date fromDate, Date toDate, int state, String triggeredBy)
int addProject(Project project, String executorId, int projectGroupId) throws ContinuumException
project
- the project to addexecutorId
- the id of an ContinuumBuildExecutor
, eg. ant
or shell
projectGroupId
-
ContinuumException
int addProject(Project project, String executorId, int projectGroupId, int buildDefintionTemplateId) throws ContinuumException
project
- the project to addexecutorId
- the id of an ContinuumBuildExecutor
, eg. ant
or shell
projectGroupId
-
ContinuumException
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl) throws ContinuumException
metadataUrl
- url of the pom.xml
ContinuumException
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, boolean checkProtocol) throws ContinuumException
metadataUrl
- url of the pom.xmlcheckProtocol
- check if the protocol is allowed, use false if the pom is uploaded
ContinuumException
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId) throws ContinuumException
metadataUrl
- url of the pom.xmlprojectGroupId
- id of the project group to use
ContinuumException
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId, boolean checkProtocol) throws ContinuumException
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
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache) throws ContinuumException
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
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean loadRecursiveProjects) throws ContinuumException
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)
ContinuumException
ContinuumProjectBuildingResult addMavenTwoProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean loadRecursiveProjects, int buildDefintionTemplateId, boolean checkoutInSingleDirectory) throws ContinuumException
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
ContinuumException
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId) throws ContinuumException
metadataUrl
- url of the project.xmlprojectGroupId
- id of the project group to use
ContinuumException
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId, boolean checkProtocol) throws ContinuumException
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
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache) throws ContinuumException
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
ContinuumProjectBuildingResult addMavenOneProject(String metadataUrl, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, int buildDefintionTemplateId) throws ContinuumException
ContinuumException
void updateProject(Project project) throws ContinuumException
ContinuumException
void updateProjectGroup(ProjectGroup projectGroup) throws ContinuumException
ContinuumException
Project getProjectWithCheckoutResult(int projectId) throws ContinuumException
ContinuumException
Project getProjectWithAllDetails(int projectId) throws ContinuumException
ContinuumException
Project getProjectWithBuilds(int projectId) throws ContinuumException
ContinuumException
ProjectNotifier getNotifier(int projectId, int notifierId) throws ContinuumException
ContinuumException
ProjectNotifier updateNotifier(int projectId, ProjectNotifier notifier) throws ContinuumException
ContinuumException
ProjectNotifier addNotifier(int projectId, ProjectNotifier notifier) throws ContinuumException
ContinuumException
void removeNotifier(int projectId, int notifierId) throws ContinuumException
ContinuumException
ProjectNotifier getGroupNotifier(int projectGroupId, int notifierId) throws ContinuumException
ContinuumException
ProjectNotifier updateGroupNotifier(int projectGroupId, ProjectNotifier notifier) throws ContinuumException
ContinuumException
ProjectNotifier addGroupNotifier(int projectGroupId, ProjectNotifier notifier) throws ContinuumException
ContinuumException
void removeGroupNotifier(int projectGroupId, int notifierId) throws ContinuumException
ContinuumException
@Deprecated List<BuildDefinition> getBuildDefinitions(int projectId) throws ContinuumException
ContinuumException
@Deprecated BuildDefinition getBuildDefinition(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumException
@Deprecated void removeBuildDefinition(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumException
BuildDefinition getBuildDefinition(int buildDefinitionId) throws ContinuumException
buildDefinitionId
-
ContinuumException
BuildDefinition getDefaultBuildDefinition(int projectId) throws ContinuumException
projectId
-
ContinuumException
List<BuildDefinition> getDefaultBuildDefinitionsForProjectGroup(int projectGroupId) throws ContinuumException
ContinuumException
BuildDefinition addBuildDefinitionToProject(int projectId, BuildDefinition buildDefinition) throws ContinuumException
ContinuumException
BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId, BuildDefinition buildDefinition) throws ContinuumException
ContinuumException
List<BuildDefinition> getBuildDefinitionsForProject(int projectId) throws ContinuumException
ContinuumException
List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId) throws ContinuumException
ContinuumException
void removeBuildDefinitionFromProject(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumException
void removeBuildDefinitionFromProjectGroup(int projectGroupId, int buildDefinitionId) throws ContinuumException
ContinuumException
BuildDefinition updateBuildDefinitionForProject(int projectId, BuildDefinition buildDefinition) throws ContinuumException
ContinuumException
BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId, BuildDefinition buildDefinition) throws ContinuumException
ContinuumException
Schedule getScheduleByName(String scheduleName) throws ContinuumException
ContinuumException
Schedule getSchedule(int id) throws ContinuumException
ContinuumException
Collection<Schedule> getSchedules() throws ContinuumException
ContinuumException
void addSchedule(Schedule schedule) throws ContinuumException
ContinuumException
void updateSchedule(Schedule schedule) throws ContinuumException
ContinuumException
void updateSchedule(int scheduleId, Map<String,String> configuration) throws ContinuumException
ContinuumException
void removeSchedule(int scheduleId) throws ContinuumException
ContinuumException
void activePurgeSchedule(Schedule schedule)
void activeBuildDefinitionSchedule(Schedule schedule)
File getWorkingDirectory(int projectId) throws ContinuumException
ContinuumException
String getFileContent(int projectId, String directory, String filename) throws ContinuumException
ContinuumException
List<File> getFiles(int projectId, String currentDirectory) throws ContinuumException
ContinuumException
ConfigurationService getConfiguration()
void reloadConfiguration() throws ContinuumException
ContinuumException
ContinuumReleaseManager getReleaseManager()
InstallationService getInstallationService()
ProfileService getProfileService()
BuildDefinitionService getBuildDefinitionService()
ContinuumPurgeManager getPurgeManager()
PurgeConfigurationService getPurgeConfigurationService()
RepositoryService getRepositoryService()
List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
ProjectScmRoot getProjectScmRoot(int projectScmRootId) throws ContinuumException
ContinuumException
ProjectScmRoot getProjectScmRootByProject(int projectId) throws ContinuumException
ContinuumException
ProjectScmRoot getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId, String scmRootAddress) throws ContinuumException
ContinuumException
TaskQueueManager getTaskQueueManager()
BuildsManager getBuildsManager()
BuildQueue addBuildQueue(BuildQueue buildQueue) throws ContinuumException
ContinuumException
BuildQueue getBuildQueue(int buildQueueId) throws ContinuumException
ContinuumException
BuildQueue getBuildQueueByName(String buildQueueName) throws ContinuumException
ContinuumException
void removeBuildQueue(BuildQueue buildQueue) throws ContinuumException
ContinuumException
BuildQueue storeBuildQueue(BuildQueue buildQueue) throws ContinuumException
ContinuumException
List<BuildQueue> getAllBuildQueues() throws ContinuumException
ContinuumException
void startup() throws ContinuumException
ContinuumException
ContinuumReleaseResult addContinuumReleaseResult(int projectId, String releaseId, String releaseType) throws ContinuumException
ContinuumException
ContinuumReleaseResult addContinuumReleaseResult(ContinuumReleaseResult releaseResult) throws ContinuumException
ContinuumException
void removeContinuumReleaseResult(int releaseResultId) throws ContinuumException
ContinuumException
ContinuumReleaseResult getContinuumReleaseResult(int releaseResultId) throws ContinuumException
ContinuumException
List<ContinuumReleaseResult> getContinuumReleaseResultsByProjectGroup(int projectGroupId)
List<ContinuumReleaseResult> getAllContinuumReleaseResults()
ContinuumReleaseResult getContinuumReleaseResult(int projectId, String releaseGoal, long startTime, long endTime) throws ContinuumException
ContinuumException
String getReleaseOutput(int releaseResultId) throws ContinuumException
ContinuumException
DistributedBuildManager getDistributedBuildManager()
DistributedReleaseManager getDistributedReleaseManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |