public class WorkspaceEventFilterByTargetId extends Object implements WorkspaceEventFilterCriteria
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
acceptedTargetIds |
| Constructor and Description |
|---|
WorkspaceEventFilterByTargetId() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(WorkspaceEvent event)
Accept or reject a event.
|
void |
addTargetId(String targetId)
Add a target id.
|
void |
removeTargetId(String targetId)
Remove a target id.
|
public void addTargetId(String targetId)
targetId - the target id to add.public void removeTargetId(String targetId)
targetId - the target id to remove.public boolean accept(WorkspaceEvent event)
accept in interface WorkspaceEventFilterCriteriaevent - the event.true if the event is accepted, false otherwise.Copyright © 2020. All Rights Reserved.