Class CapabilityPredicates


  • public class CapabilityPredicates
    extends Object
    • Constructor Detail

      • CapabilityPredicates

        public CapabilityPredicates()
    • Method Detail

      • capabilityKeyStartsWith

        public static com.google.common.base.Predicate<Capability> capabilityKeyStartsWith​(@NotNull
                                                                                           @NotNull String prefix)
        Get a predicate that returns true for Capability which key starts with given prefix
        Parameters:
        prefix - prefix to be matched in Capability
        Returns:
        Predicate object