hudson.plugins.clearcase.action
Class AbstractCheckoutAction
java.lang.Object
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.
|
Method Summary |
protected boolean |
cleanAndCreateViewIfNeeded(hudson.FilePath workspace,
java.lang.String viewTag,
java.lang.String viewPath,
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)
|
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 |
cleartool
protected final ClearTool cleartool
loadRules
protected final java.lang.String[] loadRules
useUpdate
protected final boolean useUpdate
viewPath
protected final java.lang.String viewPath
AbstractCheckoutAction
public AbstractCheckoutAction(ClearTool cleartool,
java.lang.String[] loadRules,
boolean useUpdate,
java.lang.String viewPath)
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
cleanAndCreateViewIfNeeded
protected boolean cleanAndCreateViewIfNeeded(hudson.FilePath workspace,
java.lang.String viewTag,
java.lang.String viewPath,
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 - The job's workspaceviewTag - The view identifier on server. Must be unique on serverviewPath - The workspace relative path of the viewstreamSelector - The stream selector, using streamName[@pvob] format
- 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.