Uses of Class
org.pentaho.di.job.entry.validator.ValidatorContext
-
Packages that use ValidatorContext Package Description org.pentaho.di.job.entry.validator -
-
Uses of ValidatorContext in org.pentaho.di.job.entry.validator
Methods in org.pentaho.di.job.entry.validator that return ValidatorContext Modifier and Type Method Description ValidatorContext
ValidatorContext. put(String key, Object value)
ValidatorContext
ValidatorContext. putAll(Map<String,Object> t)
ValidatorContext
ValidatorContext. putAsList(String key, Object... value)
static ValidatorContext
FileExistsValidator. putFailIfDoesNotExist(boolean failIfDoesNotExist)
static ValidatorContext
FileDoesNotExistValidator. putFailIfExists(boolean failIfExists)
static ValidatorContext
AndValidator. putValidators(JobEntryValidator... validators)
Uses varargs to conveniently add validators to the list of validators consumed byAndValidator
.static ValidatorContext
AbstractFileValidator. putVariableSpace(org.pentaho.di.core.variables.VariableSpace variableSpace)
Methods in org.pentaho.di.job.entry.validator with parameters of type ValidatorContext Modifier and Type Method Description protected boolean
FileExistsValidator. getFailIfDoesNotExist(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
protected boolean
FileDoesNotExistValidator. getFailIfExists(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
static int
JobEntryValidatorUtils. getLevelOnFail(ValidatorContext context, String validatorName)
Gets thelevelOnFail
type for givenvalidatorName
.protected org.pentaho.di.core.variables.VariableSpace
AbstractFileValidator. getVariableSpace(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
static void
FileExistsValidator. putFailIfDoesNotExist(ValidatorContext context, boolean failIfDoesNotExist)
static void
FileDoesNotExistValidator. putFailIfExists(ValidatorContext context, boolean failIfExists)
static void
AndValidator. putValidators(ValidatorContext context, JobEntryValidator... validators)
Uses varargs to conveniently add validators to the list of validators consumed byAndValidator
.static void
AbstractFileValidator. putVariableSpace(ValidatorContext context, org.pentaho.di.core.variables.VariableSpace variableSpace)
boolean
AndValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
EmailValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
FileDoesNotExistValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
FileExistsValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
IntegerValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
JobEntryValidator. 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 namedpropertyName
from the beansource
and runs the validation putting any messages intoremarks
.boolean
LongValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
NotBlankValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
boolean
NotNullValidator. validate(org.pentaho.di.core.CheckResultSourceInterface source, String propertyName, List<org.pentaho.di.core.CheckResultInterface> remarks, ValidatorContext context)
-