Class ContentTypePredicate

java.lang.Object
ddf.catalog.pubsub.predicate.ContentTypePredicate
All Implemented Interfaces:
Predicate

public class ContentTypePredicate extends Object implements Predicate
  • Constructor Details

    • ContentTypePredicate

      public ContentTypePredicate(String type, String version)
  • Method Details

    • matches

      public boolean matches(org.osgi.service.event.Event properties)
      Specified by:
      matches in interface Predicate
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)