Package com.github.jpmsilva.jsystemd
Class HealthProvider.Health
java.lang.Object
com.github.jpmsilva.jsystemd.HealthProvider.Health
- Enclosing interface:
- HealthProvider
public static class HealthProvider.Health extends Object
Wrapper of health state.
- 
Field Summary
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description static HealthProvider.Healthhealthy()Synthesize an health object that represents an healthy application state.StringtoString()
- 
Field Details
- 
Constructor Details- 
HealthProvides for a health representation (healthy/unhealthy), with health details for each component.- Parameters:
- healthy-- trueif this object represents an healthy state,- falseotherwise
- details- additional health details for each application component
- Throws:
- NullPointerException- if details is null
 
 
- 
- 
Method Details