Class StandardConfigDataResource

java.lang.Object
org.springframework.boot.context.config.ConfigDataResource
org.springframework.boot.context.config.StandardConfigDataResource

public class StandardConfigDataResource extends ConfigDataResource
ConfigDataResource backed by a Resource.
Since:
2.4.0
  • Method Details

    • getResource

      public org.springframework.core.io.Resource getResource()
      Return the underlying Spring Resource being loaded.
      Returns:
      the underlying resource
      Since:
      2.4.2
    • getProfile

      public String getProfile()
      Return the profile or null if the resource is not profile specific.
      Returns:
      the profile or null
      Since:
      2.4.6
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object