getState() — spring-boot Function Reference
Architecture documentation for the getState() function in ApplicationAvailabilityBean.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e1cf928e_dc58_c848_1200_3ebd932f159b["getState()"] c13917f4_29d0_ce72_3b96_21387f376054["onApplicationEvent()"] c13917f4_29d0_ce72_3b96_21387f376054 -->|calls| e1cf928e_dc58_c848_1200_3ebd932f159b afd0eb4e_fa3e_82d6_f986_347fef1148c6["getLogMessage()"] afd0eb4e_fa3e_82d6_f986_347fef1148c6 -->|calls| e1cf928e_dc58_c848_1200_3ebd932f159b 00e9471c_73d3_63ec_3c70_9b122b153064["getLastChangeEvent()"] e1cf928e_dc58_c848_1200_3ebd932f159b -->|calls| 00e9471c_73d3_63ec_3c70_9b122b153064 style e1cf928e_dc58_c848_1200_3ebd932f159b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/availability/ApplicationAvailabilityBean.java lines 54–60
@Override
public <S extends AvailabilityState> S getState(Class<S> stateType, S defaultState) {
Assert.notNull(stateType, "'stateType' must not be null");
Assert.notNull(defaultState, "'defaultState' must not be null");
S state = getState(stateType);
return (state != null) ? state : defaultState;
}
Domain
Subdomains
Calls
- getLastChangeEvent()
Called By
Source
Frequently Asked Questions
What does getState() do?
getState() is a function in the spring-boot codebase.
What does getState() call?
getState() calls 1 function(s): getLastChangeEvent.
What calls getState()?
getState() is called by 2 function(s): getLogMessage, onApplicationEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free