hudson.plugins.clearcase.ucm
Class UcmHistoryAction
java.lang.Object
hudson.plugins.clearcase.history.AbstractHistoryAction
hudson.plugins.clearcase.ucm.UcmHistoryAction
- All Implemented Interfaces:
- HistoryAction
public class UcmHistoryAction
- extends AbstractHistoryAction
- Author:
- hlyh
|
Constructor Summary |
UcmHistoryAction(ClearTool cleartool,
boolean useDynamicView,
java.util.List<Filter> filters,
java.lang.String stream,
java.lang.String viewDrive,
hudson.model.AbstractBuild<?,?> build,
boolean freezeCode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UcmHistoryAction
public UcmHistoryAction(ClearTool cleartool,
boolean useDynamicView,
java.util.List<Filter> filters,
java.lang.String stream,
java.lang.String viewDrive,
hudson.model.AbstractBuild<?,?> build,
boolean freezeCode)
getHistoryFormatHandler
protected ClearToolFormatHandler getHistoryFormatHandler()
- Specified by:
getHistoryFormatHandler in class AbstractHistoryAction
hasChanges
public boolean hasChanges(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:
HistoryAction
- Returns if the repository has any changes since the specified time
- Specified by:
hasChanges in interface HistoryAction- Overrides:
hasChanges in class AbstractHistoryAction
- 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
getChanges
public java.util.List<? extends hudson.scm.ChangeLogSet.Entry> 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:
HistoryAction
- Returns if the repository has any changes since the specified time
- Specified by:
getChanges in interface HistoryAction- Overrides:
getChanges in class AbstractHistoryAction
- Parameters:
time - check for changes since this timeviewName - the name of the viewbranchNames - the branch namesviewPaths - optional vob paths
- Returns:
- List of changes
- Throws:
java.io.IOException
java.lang.InterruptedException
parseEventLine
protected HistoryEntry parseEventLine(java.util.regex.Matcher matcher,
java.lang.String line)
throws java.text.ParseException
- Specified by:
parseEventLine in class AbstractHistoryAction
- Throws:
java.text.ParseException
buildChangelog
protected java.util.List<? extends hudson.scm.ChangeLogSet.Entry> buildChangelog(java.lang.String viewName,
java.util.List<HistoryEntry> entries)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
buildChangelog in class AbstractHistoryAction
- Throws:
java.io.IOException
java.lang.InterruptedException
hasChangesCodeFreeze
public boolean hasChangesCodeFreeze()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
getChangesCodeFreeze
public java.util.List<HistoryEntry> getChangesCodeFreeze()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2010. All Rights Reserved.