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.Describable<SubversionTagAction>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
@ExportedBean
public class SubversionTagAction
- extends hudson.scm.AbstractScmTagAction
- implements hudson.model.Describable<SubversionTagAction>
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, doProgressiveHtml, doProgressiveLog, getLog, 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 |
hasTags
public boolean hasTags()
- Was any tag created by the user already?
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getTags
public java.util.Map<SubversionSCM.SvnInfo,java.util.List<java.lang.String>> getTags()
- See Also:
tags
getTagInfo
@Exported(name="tags")
public java.util.List<SubversionTagAction.TagInfo> getTagInfo()
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
getDescriptor
public hudson.model.Descriptor<SubversionTagAction> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<SubversionTagAction>
Copyright © 2010. All Rights Reserved.