Class OnEnabledDevToolsCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.devtools.autoconfigure.OnEnabledDevToolsCondition
- All Implemented Interfaces:
Condition
@Deprecated(since="3.5.0",
forRemoval=true)
public class OnEnabledDevToolsCondition
extends SpringBootCondition
Deprecated, for removal: This API element is subject to removal in a future version.
A condition that checks if DevTools should be enabled.
- Since:
- 2.2.0
- Author:
- Madhura Bhave
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetMatchOutcome
(ConditionContext context, AnnotatedTypeMetadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getMatchOutcome
Deprecated, for removal: This API element is subject to removal in a future version.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
-
@ConditionalOnEnabledDevTools