Package hudson.scm.cvstagging
Class LegacyTagAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.scm.AbstractScmTagAction
hudson.scm.cvstagging.LegacyTagAction
- All Implemented Interfaces:
Action,BuildBadgeAction,Describable<LegacyTagAction>,ModelObject,SearchableModelObject,SearchItem,RunAction2
Performs tagging on legacy CVS workspaces using a ZIP file of CVS Control
files and the CVS
tag command. This code in this class has been
split off from the original implementation in the CVSSCM class.- Author:
- Michael Clarke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
Fields inherited from class hudson.scm.AbstractScmTagAction
buildFields inherited from class hudson.model.TaskAction
log, workerThread -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckTag(String value) Checks if the value is a valid CVS tag name.voiddoSubmit(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Invoked to actually tag the workspace.String[]booleanisTagged()voidperform(String tagName, boolean moveTag, TaskListener listener) Performs tagging.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, sendError
-
Constructor Details
-
LegacyTagAction
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classTaskAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getTagNames
-
doCheckTag
Checks if the value is a valid CVS tag name. -
getPermission
- Overrides:
getPermissionin classAbstractScmTagAction
-
getTooltip
- Overrides:
getTooltipin classAbstractScmTagAction
-
isTagged
public boolean isTagged()- Specified by:
isTaggedin 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.- Throws:
IOExceptionjakarta.servlet.ServletException
-
perform
Performs tagging. -
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<LegacyTagAction>
-