Class ConfigDataResource

java.lang.Object
org.springframework.boot.context.config.ConfigDataResource
Direct Known Subclasses:
ConfigTreeConfigDataResource, StandardConfigDataResource

public abstract class ConfigDataResource extends Object
A single resource from which ConfigData can be loaded. Implementations must implement a valid equals, hashCode and toString methods.
Since:
2.4.0
  • Constructor Details

    • ConfigDataResource

      public ConfigDataResource()
      Create a new non-optional ConfigDataResource instance.
    • ConfigDataResource

      protected ConfigDataResource(boolean optional)
      Create a new ConfigDataResource instance.
      Parameters:
      optional - if the resource is optional
      Since:
      2.4.6