类 StandardConfigDataResource

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

public class StandardConfigDataResource extends ConfigDataResource
从以下版本开始:
2.4.0
作者:
Madhura Bhave, Phillip Webb
  • 方法详细资料

    • getResource

      public Resource getResource()
      Return the underlying Spring Resource being loaded.
      返回:
      the underlying resource
      从以下版本开始:
      2.4.2
    • getProfile

      public String getProfile()
      Return the profile or null if the resource is not profile specific.
      返回:
      the profile or null
      从以下版本开始:
      2.4.6
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object