Settings API - Custom Property-Validator on a simple type schema table
Custom Property-Validator on a simple type (builtin:example.custom-validation.property-validator-for-simple
)
Showcase of Custom Property-Validators working on a simple property and executed in the cluster.
It will simply check that the entered number is even.
For the Java implementation check out ExamplePropertyValidatorForSimpleSchema.java
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.custom-validation.property-validator-for-simple |
| environment environment-default |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
start | Even | integer | An even number. | required |