org.springframework.boot.context.config

Class StandardConfigDataResource

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      java.lang.String getProfile()
      Return the profile or null if the resource is not profile specific.
      org.springframework.core.io.Resource getResource()
      Return the underlying Spring Resource being loaded.
      int hashCode() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • 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 java.lang.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(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object