Class PropertiesFilter

  • 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>
    An PropertiesFilter is a Predicate which evaluates a condition against a provided Properties object.
    • Constructor Detail

      • PropertiesFilter

        public PropertiesFilter()
    • 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 class uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicateComposite<String>
      • lock

        public void lock()
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class uk.gov.gchq.koryphe.composite.Composite<uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicate<String,​? extends Object>>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class uk.gov.gchq.koryphe.composite.Composite<uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicate<String,​? extends Object>>
      • toString

        public String toString()
        Overrides:
        toString in class uk.gov.gchq.koryphe.composite.Composite<uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicate<String,​? extends Object>>