Package hudson.console
Class ConsoleAnnotatorFactory.RootAction
java.lang.Object
hudson.model.InvisibleAction
hudson.console.ConsoleAnnotatorFactory.RootAction
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
- Enclosing class:
- ConsoleAnnotatorFactory<T>
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public static class ConsoleAnnotatorFactory.RootAction
extends InvisibleAction
implements RootAction
This action makes
ConsoleAnnotatorFactory
instances accessible via HTTP.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName
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
-
Constructor Details
-
RootAction
public RootAction()
-
-
Method Details
-
getUrlName
Description copied from interface:Action
Gets the URL path name.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.
- Specified by:
getUrlName
in interfaceAction
- Overrides:
getUrlName
in classInvisibleAction
- Returns:
- null if this action object doesn't need to be bound to web
(when you do that, be sure to also return null from
Action.getIconFileName()
. - See Also:
-
getDynamic
-