jenkins.plugins.simpleclearcase
Class ClearTool

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

public class ClearTool
extends java.lang.Object


Constructor Summary
ClearTool(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath workspace, java.lang.String viewname)
           
 
Method Summary
 boolean doesClearCasePathExist(java.lang.String path)
           
 boolean doesViewExist(java.lang.String viewTag)
           
 LoadRuleDateMap getLatestCommitDates(java.util.List<java.lang.String> loadRules, LoadRuleDateMap previousCommits)
           
 java.util.List<SimpleClearCaseChangeLogEntry> lshistory(java.util.List<java.lang.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,
                 java.lang.String viewname)
          throws java.lang.InterruptedException,
                 java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException
Method Detail

doesViewExist

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

doesClearCasePathExist

public boolean doesClearCasePathExist(java.lang.String path)
                               throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

getLatestCommitDates

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

lshistory

public java.util.List<SimpleClearCaseChangeLogEntry> lshistory(java.util.List<java.lang.String> loadRules,
                                                               LoadRuleDateMap previousCommit)
                                                        throws java.lang.InterruptedException,
                                                               java.io.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:
java.io.IOException
java.lang.InterruptedException


Copyright © 2004-2011. All Rights Reserved.