org.springframework.boot.origin

Class SystemEnvironmentOrigin

  • java.lang.Object
    • org.springframework.boot.origin.SystemEnvironmentOrigin
  • All Implemented Interfaces:
    Origin


    public class SystemEnvironmentOrigin
    extends java.lang.Object
    implements Origin
    Origin for an item loaded from the system environment. Provides access to the original property name.
    Since:
    2.0.0
    • Constructor Detail

      • SystemEnvironmentOrigin

        public SystemEnvironmentOrigin(java.lang.String property)
    • Method Detail

      • getProperty

        public java.lang.String getProperty()
      • 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