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 Details

    • FavoriteContainerImpl

      public FavoriteContainerImpl(UserImpl user, io.jenkins.blueocean.rest.Reachable parent)
  • Method Details

    • get

      public io.jenkins.blueocean.rest.model.BlueFavorite get(String name)
      Specified by:
      get in class io.jenkins.blueocean.rest.model.Container<io.jenkins.blueocean.rest.model.BlueFavorite>
    • iterator

      public Iterator<io.jenkins.blueocean.rest.model.BlueFavorite> iterator()
    • iterator

      public Iterator<io.jenkins.blueocean.rest.model.BlueFavorite> iterator(int start, int limit)
      Specified by:
      iterator in interface io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueFavorite>
      Overrides:
      iterator in class io.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