public class LongValidator extends Object implements JobEntryValidator
| 限定符和类型 | 字段和说明 |
|---|---|
static LongValidator |
INSTANCE |
KEY_LEVEL_ON_FAIL| 构造器和说明 |
|---|
LongValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
public static final LongValidator INSTANCE
public String getName()
JobEntryValidatorgetName 在接口中 JobEntryValidatorpublic boolean validate(org.pentaho.di.core.CheckResultSourceInterface source,
String propertyName,
List<org.pentaho.di.core.CheckResultInterface> remarks,
ValidatorContext context)
JobEntryValidatorpropertyName from the bean source
and runs the validation putting any messages into remarks. The return value is true if
the validation passes.validate 在接口中 JobEntryValidatorsource - bean to validatepropertyName - property to validateremarks - list to which to add messagescontext - any other information needed to perform the validationCopyright © 2024 Hitachi Vantara. All rights reserved.