Class BuildAddUrl.BuildUrlAction
java.lang.Object
org.jenkinsci.plugins.environmentdashboard.BuildAddUrl.BuildUrlAction
- All Implemented Interfaces:
Action,ModelObject,IconSpec
- Enclosing class:
BuildAddUrl
A sidebar/app-bar entry that navigates to the configured URL.
The target URL (which typically carries a query string, e.g. a
parambuild link with prefilled parameters) is deliberately NOT
exposed as the action's urlName: query strings in action URLs
are not preserved reliably by every Jenkins UI that renders actions.
Instead the action is bound under a stable path segment and answers it
with an HTTP redirect to the real target, so the query string always
reaches the browser intact.-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getIconClassName
- Specified by:
getIconClassNamein interfaceIconSpec
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getUrl
-
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException - Throws:
IOException
-