Package hudson.model
Interface PermalinkProjectAction
- All Superinterfaces:
Action
,ModelObject
Optional interface for
Action
s that are attached
to AbstractProject
(through JobProperty.getJobActions(Job)
),
which allows plugins to define additional permalinks in the project.
Permalinks are listed together in the UI for better ease of use, plus other plugins can use this information elsewhere (for example, a plugin to download an artifact from one of the permalinks.)
- Since:
- 1.253
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Permalink as a strategy pattern. -
Method Summary
Modifier and TypeMethodDescriptionGets the permalinks defined for this project.Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
getPermalinks
List<PermalinkProjectAction.Permalink> getPermalinks()Gets the permalinks defined for this project.Because
PermalinkProjectAction.Permalink
is a strategy-pattern object, this method should normally return a pre-initialized read-only static list object.- Returns:
- can be empty, but never null.
-