Class IsPropertyDefinedCondition

    • Method Detail

      • getKey

        public String getKey()
        Return the configured property name (key) that this evaluator will test for definition.
        Returns:
        the property key, or null if not set
      • setKey

        public void setKey​(String key)
        Set the property name (key) to be checked by this evaluator.
        Parameters:
        key - the property name to check; must not be null
      • evaluate

        public boolean evaluate()
        Evaluate whether the configured property is defined.
        Returns:
        true if the property named by key is defined, false otherwise