R - the type of ManageableResources returned by the selector@FunctionalInterface public interface ManageableResourceSelector<R extends ManageableResource>
ManageableResources resource(s).
Code adapted from Function.| Modifier and Type | Method and Description |
|---|---|
default <R1 extends ManageableResource> |
andThen(ManageableResourceSelector<R1> after)
Returns a composed selector that first applies this selector to
its input, and then applies the
after selector to the result. |
default ManageableResourceSelector<R> |
compose(ManageableResourceSelector<?> before)
Returns a composed selector that first applies the
before
selector to its input, and then applies this selector to the result. |
default <I extends ManageableResource> |
fromResources(Collection<I> resources) |
default <I extends ManageableResource> |
fromResources(I... resources) |
Set<R> |
fromResources(ManageableResource resource) |
Set<R> fromResources(ManageableResource resource) throws ManagementOperationException
ManagementOperationExceptiondefault <I extends ManageableResource> Set<R> fromResources(I... resources) throws ManagementOperationException
ManagementOperationExceptiondefault <I extends ManageableResource> Set<R> fromResources(Collection<I> resources) throws ManagementOperationException
ManagementOperationExceptiondefault ManageableResourceSelector<R> compose(ManageableResourceSelector<?> before)
before
selector to its input, and then applies this selector to the result.before - the selector to apply before this selector is appliedbefore
selector, and then applies this selectorNullPointerException - if before is nullandThen(ManageableResourceSelector)default <R1 extends ManageableResource> ManageableResourceSelector<R1> andThen(ManageableResourceSelector<R1> after)
after selector to the result.R1 - the type of output of the after function, and of the
composed functionafter - the selector to apply the result from this selectorafter selectorNullPointerException - if after is nullcompose(ManageableResourceSelector)Copyright © 2017 JBoss by Red Hat. All rights reserved.