hudson.plugins.clearcase.action
Class DefaultPollAction
java.lang.Object
hudson.plugins.clearcase.action.DefaultPollAction
- All Implemented Interfaces:
- PollAction
- Direct Known Subclasses:
- BasePollAction, UcmPollAction
public abstract class DefaultPollAction
- extends java.lang.Object
- implements PollAction
Default action for polling for changes in a repository.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filters
protected java.util.List<Filter> filters
DefaultPollAction
public DefaultPollAction(ClearTool cleartool,
java.util.List<Filter> filters)
getChanges
public boolean getChanges(java.util.Date time,
java.lang.String viewName,
java.lang.String[] branchNames,
java.lang.String[] viewPaths)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
PollAction
- Returns if the repository has any changes since the specified time
- Specified by:
getChanges in interface PollAction
- Parameters:
time - check for changes since this timeviewName - the name of the viewbranchNames - the branch namesviewPaths - optional vob paths
- Returns:
- true, if the ClearCase repository has changes; false, otherwise.
- Throws:
java.io.IOException
java.lang.InterruptedException
getHistoryFormatHandler
protected abstract ClearToolFormatHandler getHistoryFormatHandler()
parseLine
protected abstract HistoryEntry parseLine(java.lang.String line)
throws java.text.ParseException
- Throws:
java.text.ParseException
parseHistoryOutputForChanges
protected boolean parseHistoryOutputForChanges(java.io.BufferedReader reader)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
filterEntry
protected boolean filterEntry(HistoryEntry entry)
Copyright © 2009. All Rights Reserved.