public class UcmHistoryAction extends AbstractHistoryAction
cleartool, extendedViewPath, isDynamicView| Constructor and Description |
|---|
UcmHistoryAction(ClearTool cleartool,
boolean useDynamicView,
Filter filter,
UcmRevisionState oldBaseline,
UcmRevisionState newBaseline,
AbstractClearCaseScm.ChangeSetLevel changeset,
FacadeService facadeService) |
| Modifier and Type | Method and Description |
|---|---|
protected List<hudson.scm.ChangeLogSet.Entry> |
buildChangelog(String viewPath,
List<HistoryEntry> entries) |
protected List<HistoryEntry> |
compareBaselines(String viewPath) |
List<hudson.scm.ChangeLogSet.Entry> |
getChanges(Date time,
String viewPath,
String viewTag,
String[] branchNames,
String[] viewPaths)
Returns if the repository has any changes since the specified time
|
protected List<hudson.scm.ChangeLogSet.Entry> |
getChangesOnBaseline(Date time,
String viewPath,
String viewTag,
String[] branchNames,
String[] viewPaths) |
FacadeService |
getFacadeService() |
protected ClearToolFormatHandler |
getHistoryFormatHandler() |
protected UcmRevisionState |
getNewBaseline() |
protected UcmRevisionState |
getOldBaseline() |
boolean |
hasChanges(Date time,
String viewPath,
String viewTag,
String[] branchNames,
String[] viewPaths)
Returns if the repository has any changes since the specified time
|
protected boolean |
hasChangesOnBaseline(Date time,
String viewPath,
String viewTag,
String[] branchNames,
String[] viewPaths) |
protected HistoryEntry |
parseEventLine(Matcher matcher,
String line) |
protected List<HistoryEntry> |
runLsHistory(Date sinceTime,
String viewPath,
String viewTag,
String[] branchNames,
String[] viewPaths) |
void |
setFacadeService(FacadeService facadeService) |
protected Map<Component,Baseline> |
toMap(Baseline[] baselines) |
filterEntries, getChangeset, getExtendedViewPath, getLsHistoryFormat, getUpdtFile, needsLsHistoryForGetChanges, parseLsHistory, setExtendedViewPath, setUpdtFilepublic UcmHistoryAction(ClearTool cleartool, boolean useDynamicView, Filter filter, UcmRevisionState oldBaseline, UcmRevisionState newBaseline, AbstractClearCaseScm.ChangeSetLevel changeset, FacadeService facadeService)
public List<hudson.scm.ChangeLogSet.Entry> getChanges(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
HistoryActiongetChanges in interface HistoryActiongetChanges in class AbstractHistoryActiontime - check for changes since this timeviewPath - The view path name (local path in the workspace)viewTag - The view tag (unique identifier on CC Server)branchNames - the branch namesviewPaths - optional vob pathsIOExceptionInterruptedExceptionpublic FacadeService getFacadeService()
public boolean hasChanges(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
HistoryActionhasChanges in interface HistoryActionhasChanges in class AbstractHistoryActiontime - check for changes since this timeviewPath - The view path name (local path in the workspace)viewTag - The view tag (unique identifier on CC Server)branchNames - the branch namesviewPaths - optional vob pathsIOExceptionInterruptedExceptionpublic void setFacadeService(FacadeService facadeService)
protected List<hudson.scm.ChangeLogSet.Entry> buildChangelog(String viewPath, List<HistoryEntry> entries) throws IOException, InterruptedException
buildChangelog in class AbstractHistoryActionIOExceptionInterruptedExceptionprotected List<HistoryEntry> compareBaselines(String viewPath) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected List<hudson.scm.ChangeLogSet.Entry> getChangesOnBaseline(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected ClearToolFormatHandler getHistoryFormatHandler()
getHistoryFormatHandler in class AbstractHistoryActionprotected UcmRevisionState getNewBaseline()
protected UcmRevisionState getOldBaseline()
protected boolean hasChangesOnBaseline(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths)
protected HistoryEntry parseEventLine(Matcher matcher, String line) throws ParseException
parseEventLine in class AbstractHistoryActionParseExceptionprotected List<HistoryEntry> runLsHistory(Date sinceTime, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
runLsHistory in class AbstractHistoryActionIOExceptionInterruptedExceptionprotected Map<Component,Baseline> toMap(Baseline[] baselines) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004-2021. All Rights Reserved.