hudson.scm
Class TagAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.scm.AbstractScmTagAction
hudson.scm.TagAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.BuildBadgeAction, hudson.model.Describable<TagAction>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
- Direct Known Subclasses:
- CVSSCM.TagAction
@ExportedBean
public class TagAction
- extends hudson.scm.AbstractScmTagAction
- implements hudson.model.Describable<TagAction>
Action for a build that performs the tagging.
| Fields inherited from class hudson.scm.AbstractScmTagAction |
build |
| Fields inherited from class hudson.model.TaskAction |
log, workerThread |
|
Constructor Summary |
TagAction(hudson.model.AbstractBuild build,
CVSSCM scmInstance)
|
| 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 |
getConfiguredHudsonProperty, 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 |
TagAction
public TagAction(hudson.model.AbstractBuild build,
CVSSCM scmInstance)
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getTagNames
@Exported
public String[] getTagNames()
doCheckTag
public hudson.util.FormValidation doCheckTag(@QueryParameter
String value)
- Checks if the value is a valid CVS tag name.
getPermission
public hudson.security.Permission getPermission()
- Overrides:
getPermission in class hudson.scm.AbstractScmTagAction
getTooltip
public String getTooltip()
- Overrides:
getTooltip in class hudson.scm.AbstractScmTagAction
isTagged
public boolean isTagged()
- Specified by:
isTagged in class hudson.scm.AbstractScmTagAction
doSubmit
public void doSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
- Invoked to actually tag the workspace.
- Throws:
IOException
javax.servlet.ServletException
perform
public void perform(String tagName,
hudson.model.TaskListener listener)
- Performs tagging.
getDescriptor
public hudson.model.Descriptor<TagAction> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<TagAction>
Copyright © 2004-2011 Hudson. All Rights Reserved.