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, setUpdtFile
public 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
HistoryAction
getChanges
in interface HistoryAction
getChanges
in class AbstractHistoryAction
time
- 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 pathsIOException
InterruptedException
public FacadeService getFacadeService()
public boolean hasChanges(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
HistoryAction
hasChanges
in interface HistoryAction
hasChanges
in class AbstractHistoryAction
time
- 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 pathsIOException
InterruptedException
public void setFacadeService(FacadeService facadeService)
protected List<hudson.scm.ChangeLogSet.Entry> buildChangelog(String viewPath, List<HistoryEntry> entries) throws IOException, InterruptedException
buildChangelog
in class AbstractHistoryAction
IOException
InterruptedException
protected List<HistoryEntry> compareBaselines(String viewPath) throws IOException, InterruptedException
IOException
InterruptedException
protected List<hudson.scm.ChangeLogSet.Entry> getChangesOnBaseline(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
IOException
InterruptedException
protected ClearToolFormatHandler getHistoryFormatHandler()
getHistoryFormatHandler
in class AbstractHistoryAction
protected 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 AbstractHistoryAction
ParseException
protected List<HistoryEntry> runLsHistory(Date sinceTime, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
runLsHistory
in class AbstractHistoryAction
IOException
InterruptedException
protected Map<Component,Baseline> toMap(Baseline[] baselines) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2004-2021. All Rights Reserved.