|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.scm.AbstractScmTagAction
public abstract class AbstractScmTagAction
Common part of CVSSCM.TagAction
and SubversionTagAction
.
This class implements the action that tags the modules. Derived classes need to provide tagForm.jelly view that displays a form for letting user start tagging.
Field Summary | |
---|---|
protected AbstractBuild |
build
|
Fields inherited from class hudson.model.TaskAction |
---|
log, workerThread |
Constructor Summary | |
---|---|
protected |
AbstractScmTagAction(AbstractBuild build)
|
Method Summary | |
---|---|
protected String |
chooseAction()
|
void |
doIndex(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
protected ACL |
getACL()
Gets the ACL against which the permissions are checked. |
AbstractBuild |
getBuild()
|
protected Permission |
getPermission()
Defaults to SCM.TAG . |
String |
getTooltip()
This message is shown as the tool tip of the build badge icon. |
String |
getUrlName()
Gets the URL path name. |
abstract boolean |
isTagged()
Returns true if the build is tagged already. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.model.Action |
---|
getDisplayName, getIconFileName |
Field Detail |
---|
protected final AbstractBuild build
Constructor Detail |
---|
protected AbstractScmTagAction(AbstractBuild build)
Method Detail |
---|
public final String getUrlName()
Action
tions For example, if this method returns "xyz", and if the parent object (that this action is associated with) is bound to /foo/bar/zot, then this action object will be exposed to /foo/bar/zot/xyz.
This method should return a string that's unique among other Action
s.
The returned string can be an absolute URL, like "http://www.sun.com/", which is useful for directly connecting to external systems.
If the returned string starts with '/', like '/foo', then it's assumed to be relative to the context path of the Jenkins webapp.
getUrlName
in interface Action
Action.getIconFileName()
.Functions.getActionUrl(String, Action)
protected Permission getPermission()
SCM.TAG
.
getPermission
in class TaskAction
public AbstractBuild getBuild()
public String getTooltip()
public abstract boolean isTagged()
protected ACL getACL()
TaskAction
ACL
against which the permissions are checked.
getACL
in class TaskAction
public void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected String chooseAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |