Class ActionProxiesImpl

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueActionProxy
io.jenkins.blueocean.service.embedded.rest.ActionProxiesImpl
All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable

public class ActionProxiesImpl extends io.jenkins.blueocean.rest.model.BlueActionProxy
Author:
Vivek Pandey
  • Constructor Details

    • ActionProxiesImpl

      public ActionProxiesImpl(Action action, io.jenkins.blueocean.rest.Reachable parent)
  • Method Details

    • getAction

      public Object getAction()
      Specified by:
      getAction in class io.jenkins.blueocean.rest.model.BlueActionProxy
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in class io.jenkins.blueocean.rest.model.BlueActionProxy
    • get_Class

      public String get_Class()
      Specified by:
      get_Class in class io.jenkins.blueocean.rest.model.BlueActionProxy
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()
    • getActionProxies

      public static Collection<io.jenkins.blueocean.rest.model.BlueActionProxy> getActionProxies(List<? extends Action> actions, io.jenkins.blueocean.rest.Reachable parent)
      Finds all the actions and proxys them so long as they are annotated with ExportedBean
      Parameters:
      actions - to proxy
      parent - reachable
      Returns:
      actionProxies
    • getActionProxies

      public static Collection<io.jenkins.blueocean.rest.model.BlueActionProxy> getActionProxies(Collection<? extends Action> actions, Predicate<Action> alwaysAllowAction, io.jenkins.blueocean.rest.Reachable parent)
      Finds all the actions and proxys them so long as they are annotated with ExportedBean or match the provided predicate
      Parameters:
      actions - to proxy
      alwaysAllowAction - predicate to positively filter
      parent - reachable
      Returns:
      actionProxies