public class EventTypeFilter extends Object implements EventFilter, Serializable
Constructor and Description |
---|
EventTypeFilter() |
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() |
protected String type
public String getType()
public void setType(String type)
public boolean acceptsEvent(String type, Object event)
acceptsEvent
in interface EventFilter
public boolean acceptsEvent(String type, Object event, Function<String,String> resolver)
acceptsEvent
in interface EventFilter
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.