|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.continuum.release.DefaultContinuumReleaseManager
public class DefaultContinuumReleaseManager
Field Summary |
---|
Fields inherited from interface org.apache.maven.continuum.release.ContinuumReleaseManager |
---|
ROLE |
Constructor Summary | |
---|---|
DefaultContinuumReleaseManager()
|
Method Summary | |
---|---|
Map<String,ContinuumReleaseManagerListener> |
getListeners()
|
Map |
getPreparedReleases()
|
Map |
getReleaseResults()
|
void |
perform(String releaseId,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener)
Perform a release based on a given releaseId |
void |
perform(String releaseId,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener,
LocalRepository repository)
|
void |
perform(String releaseId,
String workingDirectory,
File buildDirectory,
String goals,
String arguments,
boolean useReleaseProfile,
ContinuumReleaseManagerListener listener)
Perform a release based on a release descriptor received by the Maven Release Plugin. |
String |
prepare(Project project,
Properties releaseProperties,
Map<String,String> relVersions,
Map<String,String> devVersions,
ContinuumReleaseManagerListener listener,
String workingDirectory)
Prepare a project for release |
String |
prepare(Project project,
Properties releaseProperties,
Map<String,String> relVersions,
Map<String,String> devVersions,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultContinuumReleaseManager()
Method Detail |
---|
public String prepare(Project project, Properties releaseProperties, Map<String,String> relVersions, Map<String,String> devVersions, ContinuumReleaseManagerListener listener, String workingDirectory) throws ContinuumReleaseException
ContinuumReleaseManager
prepare
in interface ContinuumReleaseManager
ContinuumReleaseException
public String prepare(Project project, Properties releaseProperties, Map<String,String> relVersions, Map<String,String> devVersions, ContinuumReleaseManagerListener listener, String workingDirectory, Map<String,String> environments, String executable) throws ContinuumReleaseException
ContinuumReleaseManager
prepare
in interface ContinuumReleaseManager
ContinuumReleaseException
public void perform(String releaseId, File buildDirectory, String goals, String arguments, boolean useReleaseProfile, ContinuumReleaseManagerListener listener) throws ContinuumReleaseException
ContinuumReleaseManager
perform
in interface ContinuumReleaseManager
ContinuumReleaseException
public void perform(String releaseId, File buildDirectory, String goals, String arguments, boolean useReleaseProfile, ContinuumReleaseManagerListener listener, LocalRepository repository) throws ContinuumReleaseException
perform
in interface ContinuumReleaseManager
ContinuumReleaseException
public void perform(String releaseId, String workingDirectory, File buildDirectory, String goals, String arguments, boolean useReleaseProfile, ContinuumReleaseManagerListener listener) throws ContinuumReleaseException
ContinuumReleaseManager
perform
in interface ContinuumReleaseManager
ContinuumReleaseException
public void rollback(String releaseId, String workingDirectory, ContinuumReleaseManagerListener listener) throws ContinuumReleaseException
ContinuumReleaseManager
rollback
in interface ContinuumReleaseManager
ContinuumReleaseException
public Map getPreparedReleases()
getPreparedReleases
in interface ContinuumReleaseManager
public Map getReleaseResults()
getReleaseResults
in interface ContinuumReleaseManager
public Map<String,ContinuumReleaseManagerListener> getListeners()
getListeners
in interface ContinuumReleaseManager
public String sanitizeTagName(String scmUrl, String tagName) throws Exception
ContinuumReleaseManager
sanitizeTagName
in interface ContinuumReleaseManager
scmUrl
- The scm urltagName
- The tag name
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |