public abstract class AbstractHistoryAction extends Object implements HistoryAction
| Modifier and Type | Field and Description |
|---|---|
protected ClearTool |
cleartool |
protected String |
extendedViewPath |
protected boolean |
isDynamicView |
| Constructor and Description |
|---|
AbstractHistoryAction(ClearTool cleartool,
boolean isDynamicView,
Filter filter,
AbstractClearCaseScm.ChangeSetLevel changeset,
boolean useRecurse) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<? extends hudson.scm.ChangeLogSet.Entry> |
buildChangelog(String viewPath,
List<HistoryEntry> entries) |
protected List<HistoryEntry> |
filterEntries(List<HistoryEntry> entries) |
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
|
AbstractClearCaseScm.ChangeSetLevel |
getChangeset() |
String |
getExtendedViewPath() |
protected abstract ClearToolFormatHandler |
getHistoryFormatHandler() |
String |
getLsHistoryFormat() |
hudson.FilePath |
getUpdtFile() |
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 |
needsLsHistoryForGetChanges(String viewTag,
String[] loadRules) |
protected abstract HistoryEntry |
parseEventLine(Matcher matcher,
String line) |
protected void |
parseLsHistory(BufferedReader reader,
Collection<HistoryEntry> history) |
protected List<HistoryEntry> |
runLsHistory(Date time,
String viewPath,
String viewTag,
String[] branchNames,
String[] viewPaths) |
void |
setExtendedViewPath(String path)
Sets the extended view path.
|
void |
setUpdtFile(hudson.FilePath updtFile) |
protected ClearTool cleartool
protected String extendedViewPath
protected boolean isDynamicView
public AbstractHistoryAction(ClearTool cleartool, boolean isDynamicView, Filter filter, AbstractClearCaseScm.ChangeSetLevel changeset, boolean useRecurse)
public List<hudson.scm.ChangeLogSet.Entry> getChanges(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
HistoryActiongetChanges in interface HistoryActiontime - 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 AbstractClearCaseScm.ChangeSetLevel getChangeset()
public String getExtendedViewPath()
public String getLsHistoryFormat()
public hudson.FilePath getUpdtFile()
public boolean hasChanges(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
HistoryActionhasChanges in interface HistoryActiontime - 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 setExtendedViewPath(String path)
path - the new extended view path.public void setUpdtFile(hudson.FilePath updtFile)
setUpdtFile in interface HistoryActionprotected abstract List<? extends hudson.scm.ChangeLogSet.Entry> buildChangelog(String viewPath, List<HistoryEntry> entries) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected List<HistoryEntry> filterEntries(List<HistoryEntry> entries) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected abstract ClearToolFormatHandler getHistoryFormatHandler()
protected boolean needsLsHistoryForGetChanges(String viewTag, String[] loadRules) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected abstract HistoryEntry parseEventLine(Matcher matcher, String line) throws IOException, InterruptedException, ParseException
protected void parseLsHistory(BufferedReader reader, Collection<HistoryEntry> history) throws IOException, InterruptedException, ParseException
protected List<HistoryEntry> runLsHistory(Date time, String viewPath, String viewTag, String[] branchNames, String[] viewPaths) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004-2021. All Rights Reserved.