org.apache.continuum.release.distributed.manager
Class DefaultDistributedReleaseManager
java.lang.Object
org.apache.continuum.release.distributed.manager.DefaultDistributedReleaseManager
- All Implemented Interfaces:
- DistributedReleaseManager
public class DefaultDistributedReleaseManager
- extends Object
- implements DistributedReleaseManager
Method Summary |
List<Map<String,Object>> |
getAllReleasesInProgress()
|
Map |
getListener(String releaseId)
|
String |
getPreparedReleaseName(String releaseId)
|
Map |
getReleasePluginParameters(int projectId,
String pomFilename)
|
org.apache.maven.shared.release.ReleaseResult |
getReleaseResult(String releaseId)
|
List<Map<String,String>> |
processProject(int projectId,
String pomFilename,
boolean autoVersionSubmodules)
|
String |
releaseCleanup(String releaseId)
|
void |
releasePerform(int projectId,
String releaseId,
String goals,
String arguments,
boolean useReleaseProfile,
LocalRepository repository)
|
void |
releasePerformFromScm(int projectId,
String goals,
String arguments,
boolean useReleaseProfile,
LocalRepository repository,
String scmUrl,
String scmUsername,
String scmPassword,
String scmTag,
String scmTagBase,
Map environments)
|
String |
releasePrepare(Project project,
Properties releaseProperties,
Map<String,String> releaseVersion,
Map<String,String> developmentVersion,
Map<String,String> environments)
|
void |
releaseRollback(String releaseId,
int projectId)
|
void |
removeListener(String releaseId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREPARED_RELEASES_FILENAME
public final String PREPARED_RELEASES_FILENAME
- See Also:
- Constant Field Values
DefaultDistributedReleaseManager
public DefaultDistributedReleaseManager()
getReleasePluginParameters
public Map getReleasePluginParameters(int projectId,
String pomFilename)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
getReleasePluginParameters
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
processProject
public List<Map<String,String>> processProject(int projectId,
String pomFilename,
boolean autoVersionSubmodules)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
processProject
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
releasePrepare
public String releasePrepare(Project project,
Properties releaseProperties,
Map<String,String> releaseVersion,
Map<String,String> developmentVersion,
Map<String,String> environments)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
releasePrepare
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
getReleaseResult
public org.apache.maven.shared.release.ReleaseResult getReleaseResult(String releaseId)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
getReleaseResult
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
getListener
public Map getListener(String releaseId)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
getListener
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
removeListener
public void removeListener(String releaseId)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
removeListener
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
getPreparedReleaseName
public String getPreparedReleaseName(String releaseId)
throws ContinuumReleaseException
- Specified by:
getPreparedReleaseName
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
releasePerform
public void releasePerform(int projectId,
String releaseId,
String goals,
String arguments,
boolean useReleaseProfile,
LocalRepository repository)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
releasePerform
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
releasePerformFromScm
public void releasePerformFromScm(int projectId,
String goals,
String arguments,
boolean useReleaseProfile,
LocalRepository repository,
String scmUrl,
String scmUsername,
String scmPassword,
String scmTag,
String scmTagBase,
Map environments)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
releasePerformFromScm
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
releaseRollback
public void releaseRollback(String releaseId,
int projectId)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
releaseRollback
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
releaseCleanup
public String releaseCleanup(String releaseId)
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
releaseCleanup
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
getAllReleasesInProgress
public List<Map<String,Object>> getAllReleasesInProgress()
throws ContinuumReleaseException,
BuildAgentConfigurationException
- Specified by:
getAllReleasesInProgress
in interface DistributedReleaseManager
- Throws:
ContinuumReleaseException
BuildAgentConfigurationException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.