hudson.scm
Class SubversionTagAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.scm.AbstractScmTagAction
hudson.scm.SubversionTagAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.BuildBadgeAction, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
public class SubversionTagAction
- extends hudson.scm.AbstractScmTagAction
Action that lets people create tag for the given build.
- Author:
- Kohsuke Kawaguchi
| Fields inherited from class hudson.scm.AbstractScmTagAction |
build |
| Fields inherited from class hudson.model.TaskAction |
log, workerThread |
| Methods inherited from class hudson.scm.AbstractScmTagAction |
chooseAction, doIndex, getACL, getBuild, getUrlName |
| Methods inherited from class hudson.model.TaskAction |
doClearError, doProgressiveLog, getLog, getSearchUrl, getWorkerThread |
| 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 |
hasTags
public boolean hasTags()
- Was any tag created by the user already?
getIconFileName
public java.lang.String getIconFileName()
getDisplayName
public java.lang.String getDisplayName()
getTags
public java.util.Map<SubversionSCM.SvnInfo,java.util.List<java.lang.String>> getTags()
- See Also:
tags
isTagged
public boolean isTagged()
- Returns true if this build has already been tagged at least once.
- Specified by:
isTagged in class hudson.scm.AbstractScmTagAction
getTooltip
public java.lang.String getTooltip()
- Overrides:
getTooltip in class hudson.scm.AbstractScmTagAction
makeTagURL
public java.lang.String makeTagURL(SubversionSCM.SvnInfo si)
- Creates a URL, to be used as the default value of the module tag URL.
- Returns:
- null if failed to guess.
doSubmit
public void doSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Invoked to actually tag the workspace.
- Throws:
java.io.IOException
javax.servlet.ServletException
getPermission
public hudson.security.Permission getPermission()
- Overrides:
getPermission in class hudson.scm.AbstractScmTagAction
Copyright © 2009. All Rights Reserved.