Class CapabilityPredicates
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.CapabilityPredicates
-
public class CapabilityPredicates extends Object
-
-
Constructor Summary
Constructors Constructor Description CapabilityPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Predicate<Capability>
capabilityKeyStartsWith(@NotNull String prefix)
Get a predicate that returns true forCapability
which key starts with given prefix
-
-
-
Method Detail
-
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
-
-