Class DevToolsEnablementDeducer
java.lang.Object
org.springframework.boot.devtools.system.DevToolsEnablementDeducer
Utility to deduce if DevTools should be enabled in the current context.
- Since:
- 2.2.0
- Author:
- Madhura Bhave
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanshouldEnable(Thread thread) Checks if a specificStackTraceElementin the current thread's stacktrace should cause devtools to be disabled.
- 
Method Details- 
shouldEnableChecks if a specificStackTraceElementin the current thread's stacktrace should cause devtools to be disabled. Devtools will also be disabled if running in a native image.- Parameters:
- thread- the current thread
- Returns:
- trueif devtools should be enabled
 
 
-