Class CdkPredicate


  • public class CdkPredicate
    extends Object
    • Method Detail

      • isFalse

        public static Predicate<Expression> isFalse()
        Returns:
        Predicate which tests if expression is boolean literal and is set to `false`
      • isNone

        public static Predicate<Expression> isNone()
        Returns:
        Predicate which tests if expression is `none`
      • isFqn

        public static Predicate<Expression> isFqn​(String fqnValue)
        Returns:
        Predicate which tests if expression is a fully qualified name (FQN) and is equal the expected FQN
      • isFqnOf

        public static Predicate<Expression> isFqnOf​(Collection<String> fqnValues)
        Returns:
        Predicate which tests if expression is a fully qualified name (FQN) and part of the FQN list
      • isString

        public static Predicate<Expression> isString​(String expectedValue)
        Returns:
        Predicate which tests if expression is a string and is equal the expected value
      • startsWith

        public static Predicate<Expression> startsWith​(String expected)
        Returns:
        Predicate which tests if expression is a string and starts with the expected value