org.apache.maven.continuum.core.action
Class CheckoutProjectContinuumAction

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.action.AbstractAction
          extended by org.apache.maven.continuum.core.action.AbstractContinuumAction
              extended by org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction
All Implemented Interfaces:
org.codehaus.plexus.action.Action, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class CheckoutProjectContinuumAction
extends AbstractContinuumAction

Version:
$Id: CheckoutProjectContinuumAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.codehaus.plexus.action.Action
RESULT_MESSAGES, ROLE
 
Constructor Summary
CheckoutProjectContinuumAction()
           
 
Method Summary
 void execute(Map context)
           
static ScmResult getCheckoutScmResult(Map<String,Object> context, ScmResult defaultValue)
           
static String getProjectRelativePath(Map<String,Object> context)
           
static String getScmPassword(Map<String,Object> context, String defaultValue)
           
static String getScmUsername(Map<String,Object> context, String defaultValue)
           
static void setCheckoutScmResult(Map<String,Object> context, ScmResult scmResult)
           
static void setProjectRelativePath(Map<String,Object> context, String projectRelativePath)
           
static void setScmPassword(Map<String,Object> context, String scmPassword)
           
static void setScmUsername(Map<String,Object> context, String scmUsername)
           
 
Methods inherited from class org.apache.maven.continuum.core.action.AbstractContinuumAction
getBoolean, getBoolean, getBuildDefinition, getBuildDefinitionId, getBuildDefinitionTemplate, getBuildId, getBuildId, getBuildTrigger, getInteger, getListOfProjects, getListOfProjectsInGroupWithCommonScmRoot, getObject, getObject, getOldBuildId, getOldScmResult, getOldScmResult, getProject, getProject, getProjectGroupId, getProjectId, getProjectsBuildDefinitionsMap, getProjectScmRoot, getProjectScmRootUrl, getScmResult, getScmResult, getScmResultMap, getString, getString, getUnvalidatedProject, getUnvalidatedProjectGroup, getUpdatedDependencies, getUpdatedDependencies, getWorkingDirectory, isRootDirectory, setBuildDefinition, setBuildDefinitionId, setBuildDefinitionTemplate, setBuildId, setBuildTrigger, setListOfProjects, setListOfProjectsInGroupWithCommonScmRoot, setOldBuildId, setOldScmResult, setProject, setProjectGroupId, setProjectId, setProjectsBuildDefinitionsMap, setProjectScmRoot, setProjectScmRootUrl, setRootDirectory, setScmResult, setScmResultMap, setUnvalidatedProject, setUnvalidatedProjectGroup, setUpdatedDependencies, setWorkingDirectory
 
Methods inherited from class org.codehaus.plexus.action.AbstractAction
addResultMessage, contextualize, getResultMessages, hasResultMessages, lookup, lookup, setResultMessages
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckoutProjectContinuumAction

public CheckoutProjectContinuumAction()
Method Detail

execute

public void execute(Map context)
             throws ContinuumStoreException
Throws:
ContinuumStoreException

getScmUsername

public static String getScmUsername(Map<String,Object> context,
                                    String defaultValue)

setScmUsername

public static void setScmUsername(Map<String,Object> context,
                                  String scmUsername)

getScmPassword

public static String getScmPassword(Map<String,Object> context,
                                    String defaultValue)

setScmPassword

public static void setScmPassword(Map<String,Object> context,
                                  String scmPassword)

getProjectRelativePath

public static String getProjectRelativePath(Map<String,Object> context)

setProjectRelativePath

public static void setProjectRelativePath(Map<String,Object> context,
                                          String projectRelativePath)

getCheckoutScmResult

public static ScmResult getCheckoutScmResult(Map<String,Object> context,
                                             ScmResult defaultValue)

setCheckoutScmResult

public static void setCheckoutScmResult(Map<String,Object> context,
                                        ScmResult scmResult)


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