jenkins.plugins.simpleclearcase
Class ClearTool

java.lang.Object
  extended by jenkins.plugins.simpleclearcase.ClearTool

public class ClearTool
extends Object


Constructor Summary
ClearTool(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath workspace, String viewname, String branch, boolean filter)
           
 
Method Summary
 boolean doesClearCaseBranchExist(String path)
           
 boolean doesClearCasePathExist(String path)
           
 boolean doesViewExist(String viewTag)
           
 LoadRuleDateMap getLatestCommitDates(List<String> loadRules, LoadRuleDateMap previousCommits)
           
 List<SimpleClearCaseChangeLogEntry> lshistory(List<String> loadRules, LoadRuleDateMap previousCommit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearTool

public ClearTool(hudson.Launcher launcher,
                 hudson.model.TaskListener listener,
                 hudson.FilePath workspace,
                 String viewname,
                 String branch,
                 boolean filter)
          throws InterruptedException,
                 IOException
Throws:
InterruptedException
IOException
Method Detail

doesViewExist

public boolean doesViewExist(String viewTag)
                      throws InterruptedException
Parameters:
viewTag -
Returns:
Throws:
InterruptedException

doesClearCasePathExist

public boolean doesClearCasePathExist(String path)
                               throws InterruptedException
Throws:
InterruptedException

doesClearCaseBranchExist

public boolean doesClearCaseBranchExist(String path)
                                 throws InterruptedException
Throws:
InterruptedException

getLatestCommitDates

public LoadRuleDateMap getLatestCommitDates(List<String> loadRules,
                                            LoadRuleDateMap previousCommits)
                                     throws InterruptedException,
                                            IOException
Parameters:
loadRules - the paths where to fetch commit dates from
Returns:
the latest commit date for each load rule
Throws:
IOException
InterruptedException

lshistory

public List<SimpleClearCaseChangeLogEntry> lshistory(List<String> loadRules,
                                                     LoadRuleDateMap previousCommit)
                                              throws InterruptedException,
                                                     IOException
Parameters:
loadRules - loadRules All the file paths which we want to fetch commit changes from SCM
previousCommit - specifies from when, we don't want to fetch information which has been collected for previous builds, this is load rule specific, not all load rule have the same commit-dates.
Returns:
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.