Class CapabilityPredicates
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.CapabilityPredicates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Predicate<Capability>
capabilityKeyStartsWith
(@NotNull String prefix) Get a predicate that returns true forCapability
which key starts with given prefix
-
Constructor Details
-
CapabilityPredicates
public CapabilityPredicates()
-
-
Method Details
-
capabilityKeyStartsWith
public static com.google.common.base.Predicate<Capability> capabilityKeyStartsWith(@NotNull @NotNull String prefix) Get a predicate that returns true forCapability
which key starts with given prefix- Parameters:
prefix
- prefix to be matched inCapability
- Returns:
- Predicate object
-