Interface ScriptValidationContext
- All Superinterfaces:
ValidationContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.validation.context.ValidationContext
ValidationContext.Builder<T extends ValidationContext,B extends ValidationContext.Builder<T, B>> -
Field Summary
Fields inherited from interface org.citrusframework.validation.context.ValidationContext
logger, RESOURCE_PATH, TYPE_RESOLVER -
Method Summary
Modifier and TypeMethodDescriptionGets the type of script used in this validation context.getValidationScript(TestContext context) Constructs the actual validation script either from data or external resource.Methods inherited from interface org.citrusframework.validation.context.ValidationContext
getStatus, requiresValidator, updateStatus
-
Method Details
-
getScriptType
String getScriptType()Gets the type of script used in this validation context.- Returns:
- the scriptType
-
getValidationScript
Constructs the actual validation script either from data or external resource.- Parameters:
context- the current TestContext.- Returns:
- the validationScript
-