Class CreateVariableValidationMatcher

java.lang.Object
org.citrusframework.validation.matcher.core.CreateVariableValidationMatcher
All Implemented Interfaces:
org.citrusframework.validation.matcher.ParameterizedValidationMatcher<OptionalStringParameter>, org.citrusframework.validation.matcher.ValidationMatcher

public class CreateVariableValidationMatcher extends Object implements org.citrusframework.validation.matcher.ParameterizedValidationMatcher<OptionalStringParameter>
Creates new variables from given field. Either uses field name or control value as variable name.
Since:
2.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.citrusframework.validation.matcher.ParameterizedValidationMatcher

    org.citrusframework.validation.matcher.ParameterizedValidationMatcher.ControlParameters
  • Field Summary

    Fields inherited from interface org.citrusframework.validation.matcher.ValidationMatcher

    matcher, RESOURCE_PATH
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    validate(String fieldName, String value, OptionalStringParameter controlParameter, org.citrusframework.context.TestContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.citrusframework.validation.matcher.ParameterizedValidationMatcher

    validate
  • Constructor Details

    • CreateVariableValidationMatcher

      public CreateVariableValidationMatcher()
  • Method Details

    • validate

      public void validate(String fieldName, String value, OptionalStringParameter controlParameter, org.citrusframework.context.TestContext context) throws org.citrusframework.exceptions.ValidationException
      Specified by:
      validate in interface org.citrusframework.validation.matcher.ParameterizedValidationMatcher<OptionalStringParameter>
      Throws:
      org.citrusframework.exceptions.ValidationException
    • getParameters

      public OptionalStringParameter getParameters()
      Specified by:
      getParameters in interface org.citrusframework.validation.matcher.ParameterizedValidationMatcher<OptionalStringParameter>