Class OnEnabledDevToolsCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.devtools.autoconfigure.OnEnabledDevToolsCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
@Deprecated(since="3.5.0",
forRemoval=true)
public class OnEnabledDevToolsCondition
extends org.springframework.boot.autoconfigure.condition.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
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcome
getMatchOutcome
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.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
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getMatchOutcome
in classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-
@ConditionalOnEnabledDevTools