Class Info

java.lang.Object
org.springframework.boot.actuate.info.Info

public final class Info extends Object
Carries information of the application.

Each detail element can be singular or a hierarchical object such as a POJO or a nested Map.

Since:
1.4.0
Author:
Meang Akira Tanaka, Stephane Nicoll
  • Method Details

    • getDetails

      public Map<String,Object> getDetails()
      Return the content.
      Returns:
      the details of the info or an empty map.
    • get

      public @Nullable Object get(String id)
    • get

      public <T> @Nullable T get(String id, @Nullable Class<T> type)
    • 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