Class PropertyValueFilter

java.lang.Object
org.alfresco.event.sdk.handling.filter.AbstractEventFilter
org.alfresco.event.sdk.handling.filter.PropertyValueFilter
All Implemented Interfaces:
EventFilter
Direct Known Subclasses:
PropertyCurrentValueFilter, PropertyPreviousValueFilter

public abstract class PropertyValueFilter extends AbstractEventFilter
Abstract EventFilter class that has the common functionality that checks if an event represents a node with a specific property with a specific value.
  • Field Details

    • propertyName

      protected String propertyName
    • propertyValue

      protected Serializable propertyValue
  • Constructor Details

    • PropertyValueFilter

      public PropertyValueFilter()
  • Method Details

    • test

      public boolean test(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event)
      Description copied from interface: EventFilter
      Evaluates this predicate on the given argument.
      Parameters:
      event - the input argument
      Returns:
      true if the input argument matches the predicate, otherwise false
    • checkPropertyValue

      protected abstract boolean checkPropertyValue(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event)