hudson.plugins.clearcase.action
Class AbstractCheckoutAction

java.lang.Object
  extended by hudson.plugins.clearcase.action.AbstractCheckoutAction
All Implemented Interfaces:
CheckOutAction
Direct Known Subclasses:
SnapshotCheckoutAction, UcmSnapshotCheckoutAction

public abstract class AbstractCheckoutAction
extends java.lang.Object
implements CheckOutAction

Check out action that will check out files into a snapshot view.


Nested Class Summary
static class AbstractCheckoutAction.LoadRulesDelta
           
 
Field Summary
protected  ClearTool cleartool
           
protected  java.lang.String[] loadRules
           
protected  boolean useUpdate
           
 
Constructor Summary
AbstractCheckoutAction(ClearTool cleartool, java.lang.String[] loadRules, boolean useUpdate)
           
 
Method Summary
protected  boolean cleanAndCreateViewIfNeeded(hudson.FilePath workspace, java.lang.String viewName, java.lang.String streamSelector)
          Manages the re-creation of the view if needed.
protected  AbstractCheckoutAction.LoadRulesDelta getLoadRulesDelta(java.util.Set<java.lang.String> configSpecLoadRules, hudson.Launcher launcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.plugins.clearcase.action.CheckOutAction
checkout
 

Field Detail

cleartool

protected final ClearTool cleartool

loadRules

protected final java.lang.String[] loadRules

useUpdate

protected final boolean useUpdate
Constructor Detail

AbstractCheckoutAction

public AbstractCheckoutAction(ClearTool cleartool,
                              java.lang.String[] loadRules,
                              boolean useUpdate)
Method Detail

cleanAndCreateViewIfNeeded

protected boolean cleanAndCreateViewIfNeeded(hudson.FilePath workspace,
                                             java.lang.String viewName,
                                             java.lang.String streamSelector)
                                      throws java.io.IOException,
                                             java.lang.InterruptedException
Manages the re-creation of the view if needed. If something exists but not referenced correctly as a view, it will be renamed and the view will be created

Parameters:
workspace -
viewName -
streamSelector -
Returns:
true if a mkview has been done, false if a view existed and is reused
Throws:
java.io.IOException
java.lang.InterruptedException

getLoadRulesDelta

protected AbstractCheckoutAction.LoadRulesDelta getLoadRulesDelta(java.util.Set<java.lang.String> configSpecLoadRules,
                                                                  hudson.Launcher launcher)


Copyright © 2010. All Rights Reserved.