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
Nested ClassesModifier and TypeClassDescriptionstatic classJust for assisting form related stuff.static classclassThe thread that performs tagging operation asynchronously. -
Field Summary
Fields inherited from class hudson.scm.AbstractScmTagAction
buildFields inherited from class hudson.model.TaskAction
log, workerThread -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGitTagAction(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, onLoadMethods inherited from class hudson.model.TaskAction
doClearError, doProgressiveHtml, doProgressiveLog, getLog, getSearchUrl, getWorkerThread, obtainLogMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Constructor Details
-
GitTagAction
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<GitTagAction>
-
isTagged
public boolean isTagged()- Specified by:
isTaggedin classAbstractScmTagAction
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classTaskAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getTags
- Returns:
- tag names and annotations for this repository
- See Also:
-
tags
-
getTagInfo
-
getTooltip
- Overrides:
getTooltipin 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:
getPermissionin classAbstractScmTagAction
-