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
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Fields inherited from class hudson.scm.AbstractScmTagAction
build
Fields inherited from class hudson.model.TaskAction
log, workerThread
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckTag
(String value) Checks if the value is a valid CVS tag name.void
doSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Invoked to actually tag the workspace.String[]
boolean
isTagged()
void
perform
(String tagName, boolean moveTag, TaskListener listener) Performs tagging.Methods inherited from class hudson.scm.AbstractScmTagAction
chooseAction, 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
-
Constructor Details
-
LegacyTagAction
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classTaskAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getTagNames
-
doCheckTag
Checks if the value is a valid CVS tag name. -
getPermission
- Overrides:
getPermission
in classAbstractScmTagAction
-
getTooltip
- Overrides:
getTooltip
in classAbstractScmTagAction
-
isTagged
public boolean isTagged()- Specified by:
isTagged
in classAbstractScmTagAction
-
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
Performs tagging. -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<LegacyTagAction>
-