Interface XmlMessageValidationContextBuilder<T extends ValidationContext,B extends XmlMessageValidationContextBuilder<T,B>>
- All Superinterfaces:
MessageValidationContextBuilder<T,,B> SchemaValidationContextBuilder<B>,ValidationContext.Builder<T,,B> WithExpressions<XpathMessageValidationContextBuilder<?,,?>> XmlValidationContextBuilderBase<T,B>
public interface XmlMessageValidationContextBuilder<T extends ValidationContext,B extends XmlMessageValidationContextBuilder<T,B>>
extends XmlValidationContextBuilderBase<T,B>, WithExpressions<XpathMessageValidationContextBuilder<?,?>>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault XpathMessageValidationContextBuilder<?,?> expression(String path, Object expectedValue) Add an expression that gets evaluated.default XpathMessageValidationContextBuilder<?,?> Deprecated.default XpathMessageValidationContextBuilder<?,?> expressions(Map<String, Object> expressions) Sets the expressions to evaluate.xpath()Convert to Xpath message validation context builder.Methods inherited from interface org.citrusframework.validation.context.MessageValidationContextBuilder
ignore, ignoreMethods inherited from interface org.citrusframework.validation.context.SchemaValidationContextBuilder
schema, schemaRepository, schemaValidationMethods inherited from interface org.citrusframework.validation.context.ValidationContext.Builder
buildMethods inherited from interface org.citrusframework.validation.xml.XmlValidationContextBuilderBase
namespace, namespaceContext, namespaceContext, namespaces
-
Method Details
-
xpath
XpathMessageValidationContextBuilder<?,?> xpath()Convert to Xpath message validation context builder. -
expressions
Deprecated. -
expressions
Description copied from interface:WithExpressionsSets the expressions to evaluate. Keys are expressions that should be evaluated and values are target variable names that are stored in the test context with the evaluated result as variable value.- Specified by:
expressionsin interfaceWithExpressions<T extends ValidationContext>
-
expression
Description copied from interface:WithExpressionsAdd an expression that gets evaluated. The evaluation result is stored in the test context as variable with given variable name.- Specified by:
expressionin interfaceWithExpressions<T extends ValidationContext>
-