|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContinuumReleaseManager
The Continuum Release Manager is responsible for performing releases based on a release descriptor that has been received by the Maven Release Plugin.
| Field Summary | |
|---|---|
static String |
ROLE
|
| Method Summary | |
|---|---|
ReleaseListenerSummary |
getListener(String releaseId)
|
Map |
getListeners()
|
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor |
getPerformReleaseTaskQueueExecutor()
Retrieve the Release TaskQueueExecutor instance |
Map<String,org.apache.maven.shared.release.config.ReleaseDescriptor> |
getPreparedReleases()
|
Map<String,String> |
getPreparedReleasesForProject(String groupId,
String artifactId)
|
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor |
getPrepareReleaseTaskQueueExecutor()
Retrieve the PrepareRelease TaskQueueExecutor instance |
Map |
getReleaseResults()
|
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor |
getRollbackReleaseTaskQueueExecutor()
Retrieve the RollbackRelease TaskQueueExecutor instance |
boolean |
isExecutingRelease()
Determines if there is an ongoing release |
void |
perform(String releaseId,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener)
Deprecated. to remove as not used anymore |
void |
perform(String releaseId,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener,
LocalRepository repository)
FIXME use a bean to replace such very huge parameter number (ContinuumReleaseRequest) |
void |
perform(String releaseId,
String workingDirectory,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener)
Deprecated. to remove as not used anymore |
String |
prepare(Project project,
Properties releaseProperties,
Map<String,String> releaseVersions,
Map<String,String> developmentVersions,
ContinuumReleaseManagerListener listener,
String workingDirectory)
Prepare a project for release |
String |
prepare(Project project,
Properties releaseProperties,
Map<String,String> releaseVersions,
Map<String,String> developmentVersions,
ContinuumReleaseManagerListener listener,
String workingDirectory,
Map<String,String> environments,
String executable)
Prepare a project for release |
void |
rollback(String releaseId,
String workingDirectory,
ContinuumReleaseManagerListener listener)
Rollback changes made by a previous release. |
String |
sanitizeTagName(String scmUrl,
String tagName)
Clean up the tagname to respect the scm provider policy. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
String prepare(Project project,
Properties releaseProperties,
Map<String,String> releaseVersions,
Map<String,String> developmentVersions,
ContinuumReleaseManagerListener listener,
String workingDirectory)
throws ContinuumReleaseException
project - releaseProperties - releaseVersions - developmentVersions - listener - workingDirectory -
ContinuumReleaseException
String prepare(Project project,
Properties releaseProperties,
Map<String,String> releaseVersions,
Map<String,String> developmentVersions,
ContinuumReleaseManagerListener listener,
String workingDirectory,
Map<String,String> environments,
String executable)
throws ContinuumReleaseException
project - releaseProperties - releaseVersions - developmentVersions - listener - workingDirectory - environments - executable -
ContinuumReleaseException
void perform(String releaseId,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener)
throws ContinuumReleaseException
releaseId - buildDirectory - goals - useReleaseProfile - listener -
ContinuumReleaseException
void perform(String releaseId,
String workingDirectory,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener)
throws ContinuumReleaseException
releaseId - workingDirectory - buildDirectory - goals - useReleaseProfile - listener -
ContinuumReleaseException
void perform(String releaseId,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener,
LocalRepository repository)
throws ContinuumReleaseException
releaseId - buildDirectory - goals - arguments - useReleaseProfile - listener - repository -
ContinuumReleaseException
void rollback(String releaseId,
String workingDirectory,
ContinuumReleaseManagerListener listener)
throws ContinuumReleaseException
releaseId - workingDirectory - listener -
ContinuumReleaseExceptionMap<String,org.apache.maven.shared.release.config.ReleaseDescriptor> getPreparedReleases()
Map<String,String> getPreparedReleasesForProject(String groupId,
String artifactId)
Map getReleaseResults()
Map getListeners()
String sanitizeTagName(String scmUrl,
String tagName)
throws Exception
scmUrl - The scm urltagName - The tag name
ExceptionReleaseListenerSummary getListener(String releaseId)
releaseId -
boolean isExecutingRelease()
throws Exception
Exception - if unable to determine if release is ongoing
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor getPerformReleaseTaskQueueExecutor()
throws TaskQueueManagerException
TaskQueueManagerException - if unable to retrieve the Release TaskQueueExecutor instance
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor getPrepareReleaseTaskQueueExecutor()
throws TaskQueueManagerException
TaskQueueManagerException - if unable to retrieve the PrepareRelease TaskQueueExecutor instance
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor getRollbackReleaseTaskQueueExecutor()
throws TaskQueueManagerException
TaskQueueManagerException - if unable to retrieve the RollbackRelease TaskQueueExecutor instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||