Class PropertiesFilter
- java.lang.Object
-
- uk.gov.gchq.koryphe.composite.Composite<C>
-
- All Implemented Interfaces:
Predicate<uk.gov.gchq.koryphe.tuple.Tuple<String>>
,uk.gov.gchq.koryphe.signature.InputValidator
public class PropertiesFilter extends uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicateComposite<String>
AnPropertiesFilter
is aPredicate
which evaluates a condition against a providedProperties
object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertiesFilter.Builder
static class
PropertiesFilter.SelectedBuilder
-
Constructor Summary
Constructors Constructor Description PropertiesFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicate<String,?>>
getComponents()
int
hashCode()
void
lock()
boolean
test(Properties properties)
uk.gov.gchq.koryphe.ValidationResult
testWithValidationResult(Properties properties)
String
toString()
-
-
-
Method Detail
-
test
public boolean test(Properties properties)
-
testWithValidationResult
public uk.gov.gchq.koryphe.ValidationResult testWithValidationResult(Properties properties)
-
getComponents
public List<uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicate<String,?>> getComponents()
- Overrides:
getComponents
in classuk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicateComposite<String>
-
lock
public void lock()
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
-