public class EventRecordFilter extends Object
Constructor and Description |
---|
EventRecordFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(String event,
String version)
Tests if a specified event record should be included in a change log.
|
boolean |
isFilteringOutDestroySubBranchEvent() |
void |
setFilterOutDestroySubBranchEvent(boolean filterOutEvent)
Set whatever the poll action should filter out "Destroy sub-branch [BRANCH] of branch" events.
|
public boolean accept(String event, String version)
event
- string containing the eventversion
- string containing the version infopublic boolean isFilteringOutDestroySubBranchEvent()
public void setFilterOutDestroySubBranchEvent(boolean filterOutEvent)
filterOutEvent
- true, then it should ignore the event; false (default) should not ignore it.Copyright © 2004-2021. All Rights Reserved.