Class ApplicationModulesEndpoint
java.lang.Object
org.springframework.modulith.actuator.ApplicationModulesEndpoint
A Spring Boot actuator endpoint to expose the application module structure of a Spring Modulith based application.
- Author:
- Oliver Drotbohm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringReturns theApplicationModulesmetadata asMap(to be rendered as JSON).
-
Constructor Details
-
ApplicationModulesEndpoint
Creates a newApplicationModulesEndpointfor the givenApplicationModules.- Parameters:
runtime- must not be null.
-
-
Method Details
-
getApplicationModules
Returns theApplicationModulesmetadata asMap(to be rendered as JSON).- Returns:
- will never be null.
-