Package hudson.model
Class PermalinkProjectAction.Permalink
java.lang.Object
hudson.model.PermalinkProjectAction.Permalink
- Direct Known Subclasses:
PeepholePermalink
- Enclosing interface:
- PermalinkProjectAction
Permalink as a strategy pattern.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final List<PermalinkProjectAction.Permalink>
List ofPermalinkProjectAction.Permalink
s that are built into Jenkins.static final PermalinkProjectAction.Permalink
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Constructor Summary
-
Method Summary
-
Field Details
-
BUILTIN
List ofPermalinkProjectAction.Permalink
s that are built into Jenkins. -
LAST_BUILD
-
LAST_STABLE_BUILD
Deprecated. -
LAST_SUCCESSFUL_BUILD
Deprecated. -
LAST_FAILED_BUILD
Deprecated. -
LAST_UNSTABLE_BUILD
Deprecated. -
LAST_UNSUCCESSFUL_BUILD
Deprecated. -
LAST_COMPLETED_BUILD
Deprecated.
-
-
Constructor Details
-
Permalink
public Permalink()
-
-
Method Details
-
getDisplayName
String to be displayed in the UI, such as "Last successful build". The convention is to upper case the first letter. -
getId
ID that uniquely identifies this permalink.The is also used as an URL token to represent the permalink. This becomes the part of the permanent URL.
The expected format is the camel case, such as "lastSuccessfulBuild".
-
resolve
Resolves the permalink to a build.- Returns:
- null if the target of the permalink doesn't exist.
-
PeepholePermalink.LAST_COMPLETED_BUILD