Class ActiveProfilesInfoContributor

java.lang.Object
tech.jhipster.config.info.ActiveProfilesInfoContributor
All Implemented Interfaces:
org.springframework.boot.actuate.info.InfoContributor

public class ActiveProfilesInfoContributor extends Object implements org.springframework.boot.actuate.info.InfoContributor
An InfoContributor that exposes the list of active spring profiles.
  • Constructor Details

    • ActiveProfilesInfoContributor

      public ActiveProfilesInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)

      Constructor for ActiveProfilesInfoContributor.

      Parameters:
      environment - a ConfigurableEnvironment object.
  • Method Details

    • contribute

      public void contribute(org.springframework.boot.actuate.info.Info.Builder builder)
      Specified by:
      contribute in interface org.springframework.boot.actuate.info.InfoContributor