public interface Validatable
Validatable
operation defines an operation with an iterable of Element
s
that can optionally be validated before being processed.Modifier and Type | Interface and Description |
---|---|
static interface |
Validatable.Builder<OP extends Validatable,B extends Validatable.Builder<OP,?>> |
Modifier and Type | Method and Description |
---|---|
boolean |
isSkipInvalidElements() |
boolean |
isValidate() |
void |
setSkipInvalidElements(boolean skipInvalidElements) |
void |
setValidate(boolean validate) |
boolean isSkipInvalidElements()
void setSkipInvalidElements(boolean skipInvalidElements)
skipInvalidElements
- true if invalid elements should be skipped. Otherwise false if the operation should fail.boolean isValidate()
void setValidate(boolean validate)
validate
- true if the operation should be validated. Otherwise false.Copyright © 2022. All rights reserved.