Class OsInfoContributor
java.lang.Object
org.springframework.boot.actuate.info.OsInfoContributor
- All Implemented Interfaces:
InfoContributor
@ImportRuntimeHints(org.springframework.boot.actuate.info.OsInfoContributor.OsInfoContributorRuntimeHints.class)
public class OsInfoContributor
extends Object
implements InfoContributor
An
InfoContributor
that exposes OsInfo
.- Since:
- 2.7.0
- Author:
- Jonatan Ivanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contribute
(Info.Builder builder) Contributes additional details using the specifiedBuilder
.
-
Constructor Details
-
OsInfoContributor
public OsInfoContributor()
-
-
Method Details
-
contribute
Description copied from interface:InfoContributor
Contributes additional details using the specifiedBuilder
.- Specified by:
contribute
in interfaceInfoContributor
- Parameters:
builder
- the builder to use
-