public abstract class SnapshotCheckoutAction extends CheckoutAction
Modifier and Type | Class and Description |
---|---|
static class |
SnapshotCheckoutAction.LoadRulesDelta |
Modifier and Type | Field and Description |
---|---|
protected String[] |
loadRules |
protected boolean |
useUpdate |
protected String |
viewPath |
Constructor and Description |
---|
SnapshotCheckoutAction(ClearTool cleartool,
String[] loadRules,
boolean useUpdate,
String viewPath,
ViewStorage viewStorage) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
cleanAndCreateViewIfNeeded(hudson.FilePath workspace,
String jobViewTag,
String viewPath,
String streamSelector)
Manages the re-creation of the view if needed.
|
protected boolean |
cleanIfRequiredAndReturnTrueIfViewCreationRequired(String jobViewTag,
String viewPath,
ClearTool ct,
hudson.model.TaskListener listener,
hudson.FilePath workspace) |
protected void |
createView(ClearTool ct,
String viewTag,
String viewPath,
String streamSelector) |
protected SnapshotCheckoutAction.LoadRulesDelta |
getLoadRulesDelta(Set<String> configSpecLoadRules,
hudson.Launcher launcher) |
boolean |
isViewValid(hudson.FilePath workspace,
String viewTag) |
boolean |
isViewValid(hudson.Launcher launcher,
hudson.FilePath workspace,
String viewTag)
Deprecated.
Use
isViewValid(FilePath,String) instead |
checkout, getCleartool, getUpdtFile, getViewStorage
protected final String[] loadRules
protected final boolean useUpdate
protected final String viewPath
public SnapshotCheckoutAction(ClearTool cleartool, String[] loadRules, boolean useUpdate, String viewPath, ViewStorage viewStorage)
public boolean isViewValid(hudson.FilePath workspace, String viewTag) throws IOException, InterruptedException
isViewValid
in class CheckoutAction
IOException
InterruptedException
@Deprecated public boolean isViewValid(hudson.Launcher launcher, hudson.FilePath workspace, String viewTag) throws IOException, InterruptedException
isViewValid(FilePath,String)
insteadisViewValid
in class CheckoutAction
IOException
InterruptedException
protected boolean cleanAndCreateViewIfNeeded(hudson.FilePath workspace, String jobViewTag, String viewPath, String streamSelector) throws IOException, InterruptedException
workspace
- The job's workspacejobViewTag
- 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
protected boolean cleanIfRequiredAndReturnTrueIfViewCreationRequired(String jobViewTag, String viewPath, ClearTool ct, hudson.model.TaskListener listener, hudson.FilePath workspace) throws IOException, InterruptedException
IOException
InterruptedException
protected void createView(ClearTool ct, String viewTag, String viewPath, String streamSelector) throws IOException, InterruptedException
IOException
InterruptedException
protected SnapshotCheckoutAction.LoadRulesDelta getLoadRulesDelta(Set<String> configSpecLoadRules, hudson.Launcher launcher)
Copyright © 2004-2021. All Rights Reserved.