Class StandardConfigDataResource

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

public class StandardConfigDataResource extends ConfigDataResource
Since:
2.4.0
Author:
Madhura Bhave, Phillip Webb
  • Method Details

    • getResource

      public 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