Class BlueFavoriteResolver
java.lang.Object
io.jenkins.blueocean.rest.factory.BlueFavoriteResolver
- All Implemented Interfaces:
ExtensionPoint
Resolves favorite for a given model object
Item
For example:
A favorite multi-branch project might resolve to a master branch pipeline- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BlueFavoriteResolver>
all()
abstract BlueFavorite
Resolves a favoriteItem
to another model object asBlueFavorite
-
Constructor Details
-
BlueFavoriteResolver
public BlueFavoriteResolver()
-
-
Method Details
-
resolve
Resolves a favoriteItem
to another model object asBlueFavorite
- Parameters:
item
- given favorite item that might resolve to another model object as favorite- Returns:
- favorite item. null if it can't resolve.
-
all
-