Interface BeanCondition

    • Method Detail

      • alwaysTrue

        static BeanCondition alwaysTrue()
        Always true bean condition.
        Returns:
        the bean condition
      • on

        static BeanCondition on​(java.lang.String name)
        On bean condition.
        Parameters:
        name - the name
        Returns:
        the bean condition
      • evenIfMissing

        BeanCondition evenIfMissing()
        Match if missing bean condition.
        Returns:
        the bean condition
      • withDefaultValue

        BeanCondition withDefaultValue​(java.lang.String value)
        With default value.
        Parameters:
        value - the value
        Returns:
        the bean condition
      • havingValue

        BeanCondition havingValue​(java.io.Serializable value)
        Is the property value set to this value?
        Parameters:
        value - the value
        Returns:
        the bean condition
      • exists

        BeanCondition exists()
        Check of the value is a valid resource and exists.
        Returns:
        the bean condition
      • isTrue

        default BeanCondition isTrue()
        Is property value set to true.
        Returns:
        the bean condition
      • isFalse

        default BeanCondition isFalse()
        Is false bean condition.
        Returns:
        the bean condition
      • isUrl

        BeanCondition isUrl()
        Is value defined as a valid URL?
        Returns:
        the bean condition
      • and

        BeanCondition and​(java.lang.String name)
        And another condition into the current chan.
        Parameters:
        name - the name
        Returns:
        the bean condition
      • given

        java.util.function.Supplier<java.lang.Boolean> given​(org.springframework.core.env.PropertyResolver applicationContext)
        To supplier supplier.
        Parameters:
        applicationContext - the application context
        Returns:
        the supplier