Class FavoriteContainerImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueFavorite>
io.jenkins.blueocean.rest.model.BlueFavoriteContainer
io.jenkins.blueocean.service.embedded.rest.FavoriteContainerImpl
- All Implemented Interfaces:
io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueFavorite>
,io.jenkins.blueocean.rest.Reachable
,Iterable<io.jenkins.blueocean.rest.model.BlueFavorite>
public class FavoriteContainerImpl
extends io.jenkins.blueocean.rest.model.BlueFavoriteContainer
- Author:
- Ivan Meredith, Vivek Pandey
-
Constructor Summary
ConstructorDescriptionFavoriteContainerImpl
(UserImpl user, io.jenkins.blueocean.rest.Reachable parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doDelete
(org.kohsuke.stapler.StaplerResponse resp) Delete all of the user's favorites.io.jenkins.blueocean.rest.model.BlueFavorite
io.jenkins.blueocean.rest.hal.Link
getLink()
Iterator<io.jenkins.blueocean.rest.model.BlueFavorite>
iterator()
Iterator<io.jenkins.blueocean.rest.model.BlueFavorite>
iterator
(int start, int limit) Methods inherited from class io.jenkins.blueocean.rest.model.Container
getDynamic, list
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FavoriteContainerImpl
-
-
Method Details
-
get
- Specified by:
get
in classio.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueFavorite>
-
iterator
-
iterator
- Specified by:
iterator
in interfaceio.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueFavorite>
- Overrides:
iterator
in classio.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueFavorite>
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
doDelete
@WebMethod(name="") @DELETE public void doDelete(org.kohsuke.stapler.StaplerResponse resp) throws hudson.plugins.favorite.Favorites.FavoriteException Delete all of the user's favorites.- Throws:
hudson.plugins.favorite.Favorites.FavoriteException
-