public final class FieldUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static uk.gov.gchq.koryphe.ValidationResult |
validateRequiredFields(Pair<String,Object>... fields)
Checks the second value of a
Pair is not null |
static uk.gov.gchq.koryphe.ValidationResult |
validateRequiredFields(uk.gov.gchq.koryphe.tuple.n.Tuple3<String,Object,Predicate>... fields)
Checks that the second value of a
Tuple3 satisfies the associated
Predicate condition. |
@SafeVarargs public static uk.gov.gchq.koryphe.ValidationResult validateRequiredFields(Pair<String,Object>... fields)
Pair is not nullfields - the fields to validate@SafeVarargs public static uk.gov.gchq.koryphe.ValidationResult validateRequiredFields(uk.gov.gchq.koryphe.tuple.n.Tuple3<String,Object,Predicate>... fields)
Tuple3 satisfies the associated
Predicate condition.fields - the fields to validateCopyright © 2022. All rights reserved.