Class EmailValidator

java.lang.Object
org.pentaho.di.job.entry.validator.EmailValidator
All Implemented Interfaces:
JobEntryValidator

public class EmailValidator extends Object implements JobEntryValidator
  • Field Details

  • Constructor Details

    • EmailValidator

      public EmailValidator()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: JobEntryValidator
      Returns the name of this validator, unique among all validators.
      Specified by:
      getName in interface JobEntryValidator
      Returns:
      name
    • validate

      public boolean validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
      Description copied from interface: JobEntryValidator
      Using reflection, the validator fetches the field named propertyName from the bean source and runs the validation putting any messages into remarks. The return value is true if the validation passes.
      Specified by:
      validate in interface JobEntryValidator
      Parameters:
      source - bean to validate
      propertyName - property to validate
      remarks - list to which to add messages
      context - any other information needed to perform the validation
      Returns:
      validation result