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.FilePath workspace)
           
 
Method Summary
 boolean doesViewExist(java.lang.String viewTag)
           
 java.util.Date getLatestCommitDate(java.util.List<java.lang.String> loadRules)
           
 java.util.List<SimpleClearCaseChangeLogEntry> lshistory(java.util.List<java.lang.String> loadRules, java.util.Date since)
           
 
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.FilePath workspace)
Method Detail

doesViewExist

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

getLatestCommitDate

public java.util.Date getLatestCommitDate(java.util.List<java.lang.String> loadRules)
                                   throws java.lang.InterruptedException,
                                          java.io.IOException
Parameters:
loadRules - the paths where to fetch commit dates from
Returns:
the latest commit date on any of the load rules
Throws:
java.io.IOException
java.lang.InterruptedException

lshistory

public java.util.List<SimpleClearCaseChangeLogEntry> lshistory(java.util.List<java.lang.String> loadRules,
                                                               java.util.Date since)
                                                        throws java.lang.InterruptedException,
                                                               java.io.IOException
Parameters:
loadRules - All the file paths which we want to fetch commit changes from SCM
since - specifies from when, we don't want to fetch information which has been collected for previous builds
Returns:
a list of all changelog entries, in order of the the date stamps
Throws:
java.lang.InterruptedException
java.io.IOException


Copyright © 2004-2011. All Rights Reserved.