hudson.model
Interface PermalinkProjectAction

All Superinterfaces:
Action, ModelObject

public interface PermalinkProjectAction
extends Action

Optional interface for Actions 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:
JobProperty

Nested Class Summary
static class PermalinkProjectAction.Permalink
          Permalink as a strategy pattern.
 
Method Summary
 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-initialzied read-only static list object.

Returns:
can be empty, but never null.


Copyright © 2004-2013. All Rights Reserved.