org.apache.continuum.release.distributed.manager
Interface DistributedReleaseManager

All Known Implementing Classes:
DefaultDistributedReleaseManager

public interface DistributedReleaseManager


Method Summary
 List<Map<String,Object>> getAllReleasesInProgress()
           
 String getDefaultBuildagent(int projectId)
           
 Map<String,Object> getListener(String releaseId)
           
 PreparedRelease getPreparedRelease(String releaseId, String releaseType)
           
 String getPreparedReleaseName(String releaseId)
          Deprecated. 
 Map<String,String> getPreparedReleases(String groupId, String artifactId)
           
 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, String username)
           
 String releasePerformFromScm(int projectId, String goals, String arguments, boolean useReleaseProfile, LocalRepository repository, String scmUrl, String scmUsername, String scmPassword, String scmTag, String scmTagBase, Map environments, String username)
           
 String releasePrepare(Project project, Properties releaseProperties, Map<String,String> releaseVersion, Map<String,String> developmentVersion, Map<String,String> environments, String username)
           
 void releaseRollback(String releaseId, int projectId)
           
 void removeListener(String releaseId)
           
 

Method Detail

getReleasePluginParameters

Map getReleasePluginParameters(int projectId,
                               String pomFilename)
                               throws ContinuumReleaseException,
                                      BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

processProject

List<Map<String,String>> processProject(int projectId,
                                        String pomFilename,
                                        boolean autoVersionSubmodules)
                                        throws ContinuumReleaseException,
                                               BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

releasePrepare

String releasePrepare(Project project,
                      Properties releaseProperties,
                      Map<String,String> releaseVersion,
                      Map<String,String> developmentVersion,
                      Map<String,String> environments,
                      String username)
                      throws ContinuumReleaseException,
                             BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

getReleaseResult

org.apache.maven.shared.release.ReleaseResult getReleaseResult(String releaseId)
                                                               throws ContinuumReleaseException,
                                                                      BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

getListener

Map<String,Object> getListener(String releaseId)
                               throws ContinuumReleaseException,
                                      BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

removeListener

void removeListener(String releaseId)
                    throws ContinuumReleaseException,
                           BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

getPreparedReleaseName

@Deprecated
String getPreparedReleaseName(String releaseId)
                              throws ContinuumReleaseException
Deprecated. 

Throws:
ContinuumReleaseException

getPreparedReleases

Map<String,String> getPreparedReleases(String groupId,
                                       String artifactId)
                                       throws ContinuumReleaseException
Throws:
ContinuumReleaseException

releasePerform

void releasePerform(int projectId,
                    String releaseId,
                    String goals,
                    String arguments,
                    boolean useReleaseProfile,
                    LocalRepository repository,
                    String username)
                    throws ContinuumReleaseException,
                           BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

releasePerformFromScm

String releasePerformFromScm(int projectId,
                             String goals,
                             String arguments,
                             boolean useReleaseProfile,
                             LocalRepository repository,
                             String scmUrl,
                             String scmUsername,
                             String scmPassword,
                             String scmTag,
                             String scmTagBase,
                             Map environments,
                             String username)
                             throws ContinuumReleaseException,
                                    BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

releaseRollback

void releaseRollback(String releaseId,
                     int projectId)
                     throws ContinuumReleaseException,
                            BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

releaseCleanup

String releaseCleanup(String releaseId)
                      throws ContinuumReleaseException,
                             BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

getAllReleasesInProgress

List<Map<String,Object>> getAllReleasesInProgress()
                                                  throws ContinuumReleaseException,
                                                         BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

getDefaultBuildagent

String getDefaultBuildagent(int projectId)

getPreparedRelease

PreparedRelease getPreparedRelease(String releaseId,
                                   String releaseType)
                                   throws ContinuumReleaseException
Throws:
ContinuumReleaseException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.