Interface JobEntryValidator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Returns the name of this validator, unique among all validators.
      boolean validate​(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
      Using reflection, the validator fetches the field named propertyName from the bean source and runs the validation putting any messages into remarks.
    • Method Detail

      • validate

        boolean validate​(org.pentaho.di.core.CheckResultSourceInterface source,
                         String propertyName,
                         List<org.pentaho.di.core.CheckResultInterface> remarks,
                         ValidatorContext context)
        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.
        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
      • getName

        String getName()
        Returns the name of this validator, unique among all validators.
        Returns:
        name