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
Constructors Constructor Description ActionProxiesImpl(Action action, io.jenkins.blueocean.rest.Reachable parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get_Class()
Object
getAction()
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 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()
String
getUrlName()
-
-
-
Constructor Detail
-
ActionProxiesImpl
public ActionProxiesImpl(Action action, io.jenkins.blueocean.rest.Reachable parent)
-
-
Method Detail
-
getAction
public Object getAction()
- Specified by:
getAction
in classio.jenkins.blueocean.rest.model.BlueActionProxy
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in classio.jenkins.blueocean.rest.model.BlueActionProxy
-
get_Class
public String 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
-
-