jenkins.plugins.svnmerge
Class RebaseAction

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.TaskAction
          extended by jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction<RebaseSetting>
              extended by jenkins.plugins.svnmerge.RebaseAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem

public class RebaseAction
extends AbstractSvnmergeTaskAction<RebaseSetting>

AbstractProject-level action to rebase changes from the upstream branch into the current branch.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction
AbstractSvnmergeTaskAction.TaskImpl, AbstractSvnmergeTaskAction.WorkerThread
 
Field Summary
static String COMMIT_MESSAGE_PREFIX
           
 hudson.model.AbstractProject<?,?> project
           
 
Fields inherited from class hudson.model.TaskAction
log, workerThread
 
Constructor Summary
RebaseAction(hudson.model.AbstractProject<?,?> project)
           
 
Method Summary
protected  RebaseSetting createParams(org.kohsuke.stapler.StaplerRequest req)
           
protected  AbstractSvnmergeTaskAction.TaskImpl createTask(RebaseSetting param)
           
protected  String decidePage()
          Which page to render?
 void doCancelQueue(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Cancels a rebase task in the queue, if any.
protected  hudson.security.ACL getACL()
           
 String getDisplayName()
           
 String getIconFileName()
           
 File getLogFile()
           
 hudson.model.AbstractProject<?,?> getProject()
           
 String getUrlName()
           
 
Methods inherited from class jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction
doIndex, doPerform, getLog, getPermission, getProperty, performAsync
 
Methods inherited from class hudson.model.TaskAction
doClearError, doProgressiveHtml, doProgressiveLog, getSearchUrl, getWorkerThread, obtainLog
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

public final hudson.model.AbstractProject<?,?> project

COMMIT_MESSAGE_PREFIX

public static final String COMMIT_MESSAGE_PREFIX
See Also:
Constant Field Values
Constructor Detail

RebaseAction

public RebaseAction(hudson.model.AbstractProject<?,?> project)
Method Detail

getIconFileName

public String getIconFileName()

getDisplayName

public String getDisplayName()

getUrlName

public String getUrlName()

getACL

protected hudson.security.ACL getACL()
Specified by:
getACL in class hudson.model.TaskAction

getProject

public hudson.model.AbstractProject<?,?> getProject()
Specified by:
getProject in class AbstractSvnmergeTaskAction<RebaseSetting>

getLogFile

public File getLogFile()
Specified by:
getLogFile in class AbstractSvnmergeTaskAction<RebaseSetting>

createParams

protected RebaseSetting createParams(org.kohsuke.stapler.StaplerRequest req)
Specified by:
createParams in class AbstractSvnmergeTaskAction<RebaseSetting>

createTask

protected AbstractSvnmergeTaskAction.TaskImpl createTask(RebaseSetting param)
                                                  throws IOException
Specified by:
createTask in class AbstractSvnmergeTaskAction<RebaseSetting>
Throws:
IOException

doCancelQueue

public void doCancelQueue(org.kohsuke.stapler.StaplerRequest req,
                          org.kohsuke.stapler.StaplerResponse rsp)
                   throws IOException,
                          javax.servlet.ServletException
Cancels a rebase task in the queue, if any.

Throws:
IOException
javax.servlet.ServletException

decidePage

protected String decidePage()
Which page to render?

Specified by:
decidePage in class AbstractSvnmergeTaskAction<RebaseSetting>


Copyright © 2004-2012. All Rights Reserved.