org.springframework.boot.autoconfigure.condition

Class ResourceCondition

    • Constructor Detail

      • ResourceCondition

        protected ResourceCondition(String name,
                                    String property,
                                    String... resourceLocations)
        Create a new condition.
        Parameters:
        name - the name of the component
        property - the configuration property
        resourceLocations - default location(s) where the configuration file can be found if the configuration key is not specified
        Since:
        2.0.0