Class EntityAttributesPredicate

    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • trimTags

        private final boolean trimTags
        Whether to trim the values in the metadata before comparison.
      • matchAll

        private final boolean matchAll
        Whether all the candidates must match.
    • Constructor Detail

      • EntityAttributesPredicate

        public EntityAttributesPredicate​(@Nonnull @NonnullElements @ParameterName(name="candidates")
                                         Collection<EntityAttributesPredicate.Candidate> candidates,
                                         @ParameterName(name="trim")
                                         boolean trim)
        Constructor.
        Parameters:
        candidates - the EntityAttributesPredicate.Candidate criteria to check for
        trim - true iff the values found in the metadata should be trimmed before comparison
      • EntityAttributesPredicate

        public EntityAttributesPredicate​(@Nonnull @NonnullElements @ParameterName(name="candidates")
                                         Collection<EntityAttributesPredicate.Candidate> candidates,
                                         @ParameterName(name="trim")
                                         boolean trim,
                                         @ParameterName(name="all")
                                         boolean all)
        Constructor.
        Parameters:
        candidates - the EntityAttributesPredicate.Candidate criteria to check for
        trim - true iff the values found in the metadata should be trimmed before comparison
        all - true iff all the criteria must match to be a successful test
    • Method Detail

      • getTrimTags

        public boolean getTrimTags()
        Get whether to trim tags for comparison.
        Returns:
        true iff tags are to be trimmed for comparison
      • getMatchAll

        public boolean getMatchAll()
        Get whether all candidates must match.
        Returns:
        true iff all candidates have to match