Package hudson.model
Interface PermalinkProjectAction
-
- All Superinterfaces:
Action
,ModelObject
public interface PermalinkProjectAction extends Action
Optional interface forAction
s that are attached toAbstractProject
(throughJobProperty.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:
JobProperty
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PermalinkProjectAction.Permalink
Permalink as a strategy pattern.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PermalinkProjectAction.Permalink>
getPermalinks()
Gets the permalinks defined for this project.-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Method Detail
-
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.
-
-