hudson.plugins.clearcase.util
Class EventRecordFilter

java.lang.Object
  extended by hudson.plugins.clearcase.util.EventRecordFilter

public class EventRecordFilter
extends java.lang.Object

Class that helps deteremine if an event record should be used in a change log. The change log could be created in a checkout or polling action.


Constructor Summary
EventRecordFilter()
           
 
Method Summary
 boolean accept(java.lang.String event, java.lang.String version)
          Tests if a specified event record should be included in a change log.
 boolean isFilteringOutDestroySubBranchEvent()
           
 void setFilterOutDestroySubBranchEvent(boolean filterOutEvent)
          Set whetever the poll action should filter out "Destroy sub-branch [BRANCH] of branch" events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventRecordFilter

public EventRecordFilter()
Method Detail

accept

public boolean accept(java.lang.String event,
                      java.lang.String version)
Tests if a specified event record should be included in a change log.

Parameters:
event - string containing the event
version - string containing the version info
Returns:
true if the event record should be included in a change log.

setFilterOutDestroySubBranchEvent

public void setFilterOutDestroySubBranchEvent(boolean filterOutEvent)
Set whetever the poll action should filter out "Destroy sub-branch [BRANCH] of branch" events.

Parameters:
filterOutEvent - true, then it should ignore the event; false (default) should not ignore it.

isFilteringOutDestroySubBranchEvent

public boolean isFilteringOutDestroySubBranchEvent()


Copyright © 2009. All Rights Reserved.