Package hudson.plugins.git
Class GitTagAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.scm.AbstractScmTagAction
hudson.plugins.git.GitTagAction
- All Implemented Interfaces:
Action
,BuildBadgeAction
,Describable<GitTagAction>
,ModelObject
,SearchableModelObject
,SearchItem
,RunAction2
@ExportedBean
public class GitTagAction
extends AbstractScmTagAction
implements Describable<GitTagAction>
- Author:
- Nicolas de Loof
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Just for assisting form related stuff.static class
class
The thread that performs tagging operation asynchronously. -
Field Summary
Fields inherited from class hudson.scm.AbstractScmTagAction
build
Fields inherited from class hudson.model.TaskAction
log, workerThread
-
Constructor Summary
ModifierConstructorDescriptionprotected
GitTagAction
(Run build, FilePath workspace, hudson.plugins.git.Revision revision) -
Method Summary
Methods inherited from class hudson.scm.AbstractScmTagAction
chooseAction, doIndex, doIndex, getACL, getBuild, getRun, getUrlName, onAttached, onLoad
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, sendError, sendError, sendError
-
Constructor Details
-
GitTagAction
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<GitTagAction>
-
isTagged
public boolean isTagged()- Specified by:
isTagged
in classAbstractScmTagAction
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classTaskAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getTags
- Returns:
- tag names and annotations for this repository
- See Also:
-
tags
-
getTagInfo
-
getTooltip
- Overrides:
getTooltip
in classAbstractScmTagAction
-
doSubmit
public void doSubmit(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException Invoked to actually tag the workspace.- Parameters:
req
- request for submitrsp
- response used to send result- Throws:
IOException
- on input or output errorjakarta.servlet.ServletException
- on servlet error
-
getPermission
- Overrides:
getPermission
in classAbstractScmTagAction
-