hudson.plugins.clearcase.action
Class DynamicCheckoutAction

java.lang.Object
  extended by hudson.plugins.clearcase.action.DynamicCheckoutAction
All Implemented Interfaces:
CheckOutAction

public class DynamicCheckoutAction
extends java.lang.Object
implements CheckOutAction

Check out action for dynamic views. This will not update any files from the repository as it is a dynamic view. The class will make sure that the configured config spec is the same as the one for the dynamic view.


Constructor Summary
DynamicCheckoutAction(ClearTool cleartool, java.lang.String configSpec, boolean doNotUpdateConfigSpec, boolean useTimeRule, boolean createDynView, java.lang.String winDynStorageDir, java.lang.String unixDynStorageDir, hudson.model.AbstractBuild<?,?> build)
           
 
Method Summary
 boolean checkout(hudson.Launcher launcher, hudson.FilePath workspace, java.lang.String viewTag)
           
 java.lang.String getTimeRule()
           
 java.lang.String getTimeRule(java.util.Date nowDate)
           
 boolean isViewValid(hudson.Launcher launcher, hudson.FilePath workspace, java.lang.String viewTag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicCheckoutAction

public DynamicCheckoutAction(ClearTool cleartool,
                             java.lang.String configSpec,
                             boolean doNotUpdateConfigSpec,
                             boolean useTimeRule,
                             boolean createDynView,
                             java.lang.String winDynStorageDir,
                             java.lang.String unixDynStorageDir,
                             hudson.model.AbstractBuild<?,?> build)
Method Detail

checkout

public boolean checkout(hudson.Launcher launcher,
                        hudson.FilePath workspace,
                        java.lang.String viewTag)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Specified by:
checkout in interface CheckOutAction
Throws:
java.io.IOException
java.lang.InterruptedException

getTimeRule

public java.lang.String getTimeRule()

getTimeRule

public java.lang.String getTimeRule(java.util.Date nowDate)

isViewValid

public boolean isViewValid(hudson.Launcher launcher,
                           hudson.FilePath workspace,
                           java.lang.String viewTag)
                    throws java.io.IOException,
                           java.lang.InterruptedException
Specified by:
isViewValid in interface CheckOutAction
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.