java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.util.validation.AbstractValidator
de.tracetronic.jenkins.plugins.ecutest.util.validation.TestValidator

public class TestValidator extends AbstractValidator
Validator to check test related form fields.
  • Constructor Details

    • TestValidator

      public TestValidator()
  • Method Details

    • validateTestFolder

      public FormValidation validateTestFolder(String testFolder)
      Validates the test folder.
      Parameters:
      testFolder - the test folder
      Returns:
      the form validation
    • validateTbcFile

      public FormValidation validateTbcFile(String tbcFile)
      Validates the TBC file.
      Parameters:
      tbcFile - the TBC file
      Returns:
      the form validation
    • validateTcfFile

      public FormValidation validateTcfFile(String tcfFile)
      Validates the TCF file.
      Parameters:
      tcfFile - the TCF file
      Returns:
      the form validation
    • validateParameterName

      public FormValidation validateParameterName(String name)
      Validates the parameter name.
      Parameters:
      name - the parameter name
      Returns:
      FormValidation
    • validateParameterValue

      public FormValidation validateParameterValue(String value)
      Validates the parameter value.
      Parameters:
      value - the parameter value
      Returns:
      FormValidation
    • validatePackageOutputParameterName

      public FormValidation validatePackageOutputParameterName(String name)
      Validates the variable names.
      Parameters:
      name - the variable names
      Returns:
      FormValidation
    • validateGlobalConstantName

      public FormValidation validateGlobalConstantName(String name)
      Validates the global constant name.
      Parameters:
      name - the global constant name
      Returns:
      FormValidation
    • validateGlobalConstantValue

      public FormValidation validateGlobalConstantValue(String value)
      Validates the global constant value.
      Parameters:
      value - the global constant value
      Returns:
      FormValidation
    • validateFilterExpression

      public FormValidation validateFilterExpression(String filterExpression)
      Validates the filter expression.
      Parameters:
      filterExpression - the filter expression
      Returns:
      the form validation