org.jbpm.process.core.event

## Class EventTypeFilter

- java.lang.Object
- - org.jbpm.process.core.event.EventTypeFilter

- All Implemented Interfaces:
    Serializable, EventFilter
  Direct Known Subclasses:
    BroadcastEventTypeFilter, NonAcceptingEventTypeFilter

      public class EventTypeFilter
      extends Object
      implements EventFilter, Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EventTypeFilter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `acceptsEvent(String type, Object event)`
    `boolean` | `acceptsEvent(String type, Object event, Function<String,String> resolver)`
    `String` | `getType()`
    `void` | `setType(String type)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### type

          protected String type

  - ### Constructor Detail

    - #### EventTypeFilter

          public EventTypeFilter()

  - ### Method Detail

    - #### getType

          public String getType()

    - #### setType

          public void setType(String type)

    - #### acceptsEvent

          public boolean acceptsEvent(String type,
                                      Object event)

      Specified by:
        `acceptsEvent` in interface `EventFilter`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### acceptsEvent

          public boolean acceptsEvent(String type,
                                      Object event,
                                      Function<String,String> resolver)

      Specified by:
        `acceptsEvent` in interface `EventFilter`

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.