hudson.plugins.clearcase.action
Class UcmDynamicCheckoutAction

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

public class UcmDynamicCheckoutAction
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. It only makes sure the view is started as config specs don't exist in UCM


Constructor Summary
UcmDynamicCheckoutAction(ClearTool cleartool, java.lang.String stream, boolean createDynView, java.lang.String winDynStorageDir, java.lang.String unixDynStorageDir, hudson.model.AbstractBuild build, boolean freezeCode, boolean recreateView)
           
 
Method Summary
 boolean checkout(hudson.Launcher launcher, hudson.FilePath workspace, java.lang.String viewTag)
           
 boolean checkoutCodeFreeze(java.lang.String viewName)
           
static java.lang.String getConfiguredStreamViewName(java.lang.String jobName, java.lang.String stream)
           
 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

UcmDynamicCheckoutAction

public UcmDynamicCheckoutAction(ClearTool cleartool,
                                java.lang.String stream,
                                boolean createDynView,
                                java.lang.String winDynStorageDir,
                                java.lang.String unixDynStorageDir,
                                hudson.model.AbstractBuild build,
                                boolean freezeCode,
                                boolean recreateView)
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

checkoutCodeFreeze

public boolean checkoutCodeFreeze(java.lang.String viewName)
                           throws java.io.IOException,
                                  java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

getConfiguredStreamViewName

public static java.lang.String getConfiguredStreamViewName(java.lang.String jobName,
                                                           java.lang.String stream)

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 © 2011. All Rights Reserved.