@API(value=Internal) public class ConditionEvaluator extends Object
ConditionEvaluator
evaluates ExecutionCondition
extensions.ExecutionCondition
Constructor and Description |
---|
ConditionEvaluator() |
Modifier and Type | Method and Description |
---|---|
ConditionEvaluationResult |
evaluate(ExtensionRegistry extensionRegistry,
ConfigurationParameters configurationParameters,
ExtensionContext context)
Evaluate all
ExecutionCondition extensions registered for the
supplied ExtensionContext . |
public ConditionEvaluationResult evaluate(ExtensionRegistry extensionRegistry, ConfigurationParameters configurationParameters, ExtensionContext context)
ExecutionCondition
extensions registered for the
supplied ExtensionContext
.context
- the current ExtensionContext
ConditionEvaluationResult
,
or a default enabled ConditionEvaluationResult
if no
disabled conditions are encountered