public class UcmSnapshotCheckoutAction extends SnapshotCheckoutAction
SnapshotCheckoutAction.LoadRulesDelta
loadRules, useUpdate, viewPath
Constructor and Description |
---|
UcmSnapshotCheckoutAction(ClearTool cleartool,
String streamSelector,
String[] loadRules,
boolean useUpdate,
String viewPath,
ViewStorage viewStorage,
FacadeService facadeService) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkout(hudson.Launcher launcher,
hudson.FilePath workspace,
String viewTag) |
protected boolean |
cleanAndCreateViewIfNeeded(hudson.FilePath workspace,
String viewTag,
String viewPath,
String streamSelector)
Manages the re-creation of the view if needed.
|
FacadeService |
getFacadeService() |
void |
setFacadeService(FacadeService facadeService) |
cleanIfRequiredAndReturnTrueIfViewCreationRequired, createView, getLoadRulesDelta, isViewValid, isViewValid
getCleartool, getUpdtFile, getViewStorage
public UcmSnapshotCheckoutAction(ClearTool cleartool, String streamSelector, String[] loadRules, boolean useUpdate, String viewPath, ViewStorage viewStorage, FacadeService facadeService)
public boolean checkout(hudson.Launcher launcher, hudson.FilePath workspace, String viewTag) throws IOException, InterruptedException
checkout
in class CheckoutAction
IOException
InterruptedException
public FacadeService getFacadeService()
public void setFacadeService(FacadeService facadeService)
protected boolean cleanAndCreateViewIfNeeded(hudson.FilePath workspace, String viewTag, String viewPath, String streamSelector) throws IOException, InterruptedException
SnapshotCheckoutAction
cleanAndCreateViewIfNeeded
in class SnapshotCheckoutAction
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] formatIOException
InterruptedException
Copyright © 2004-2021. All Rights Reserved.