Class OnEnabledDevToolsCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.devtools.autoconfigure.OnEnabledDevToolsCondition
- All Implemented Interfaces:
Condition
A condition that checks if DevTools should be enabled.
- Since:
- 2.2.0
- Author:
- Madhura Bhave
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMatchOutcome
(ConditionContext context, AnnotatedTypeMetadata metadata) Determine the outcome of the match along with suitable log output.Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Constructor Details
-
OnEnabledDevToolsCondition
public OnEnabledDevToolsCondition()
-
-
Method Details
-
getMatchOutcome
Description copied from class:SpringBootCondition
Determine the outcome of the match along with suitable log output.- Specified by:
getMatchOutcome
in classSpringBootCondition
- Parameters:
context
- the condition contextmetadata
- the annotation metadata- Returns:
- the condition outcome
-