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

Package class diagram package DistributedReleaseManager
All Known Implementing Classes:
DefaultDistributedReleaseManager

public interface 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)
           
 

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)
                      throws ContinuumReleaseException,
                             BuildAgentConfigurationException
Throws:
ContinuumReleaseException
BuildAgentConfigurationException

getReleaseResult

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

getListener

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

removeListener

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

getPreparedReleaseName

String getPreparedReleaseName(String releaseId)
                              throws ContinuumReleaseException
Throws:
ContinuumReleaseException

releasePerform

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

releasePerformFromScm

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
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


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