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 Summary
ConstructorDescriptionActionProxiesImpl
(Action action, io.jenkins.blueocean.rest.Reachable parent) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 predicatestatic 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 ExportedBeanio.jenkins.blueocean.rest.hal.Link
getLink()
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Constructor Details
-
ActionProxiesImpl
-
-
Method Details
-
getAction
- Specified by:
getAction
in classio.jenkins.blueocean.rest.model.BlueActionProxy
-
getUrlName
- Specified by:
getUrlName
in classio.jenkins.blueocean.rest.model.BlueActionProxy
-
get_Class
- Specified by:
get_Class
in classio.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 proxyparent
- 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 proxyalwaysAllowAction
- predicate to positively filterparent
- reachable- Returns:
- actionProxies
-