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