hudson.plugins.clearcase
Class ClearToolSnapshot
java.lang.Object
hudson.plugins.clearcase.ClearToolExec
hudson.plugins.clearcase.ClearToolSnapshot
- All Implemented Interfaces:
- ClearTool
public class ClearToolSnapshot
- extends ClearToolExec
|
Method Summary |
protected hudson.FilePath |
getRootViewPath(ClearToolLauncher launcher)
|
void |
mkview(java.lang.String viewName,
java.lang.String streamSelector)
Creates and registers a view |
void |
rmview(java.lang.String viewName)
Removes the view from a VOB |
void |
setcs(java.lang.String viewName,
java.lang.String configSpec)
Sets the config spec of the view |
void |
setView(java.lang.String viewTag)
|
void |
update(java.lang.String viewName,
java.lang.String loadRules)
Updates the elements in the view |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearToolSnapshot
public ClearToolSnapshot(ClearToolLauncher launcher,
java.lang.String clearToolExec)
ClearToolSnapshot
public ClearToolSnapshot(ClearToolLauncher launcher,
java.lang.String clearToolExec,
java.lang.String optionalParameters)
setcs
public void setcs(java.lang.String viewName,
java.lang.String configSpec)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Sets the config spec of the view
- Parameters:
viewName - the name of the viewconfigSpec - the name of the file containing a config spec
- Throws:
java.io.IOException
java.lang.InterruptedException
mkview
public void mkview(java.lang.String viewName,
java.lang.String streamSelector)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Creates and registers a view
- Parameters:
viewName - the name of the viewstreamSelector - optional stream selector, null if not used.
- Throws:
java.io.IOException
java.lang.InterruptedException
rmview
public void rmview(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Removes the view from a VOB
- Parameters:
viewName - the name of the view
- Throws:
java.io.IOException
java.lang.InterruptedException
update
public void update(java.lang.String viewName,
java.lang.String loadRules)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Updates the elements in the view
- Parameters:
viewName - the name of the viewloadRules - optional load rules, null if not used.
- Throws:
java.io.IOException
java.lang.InterruptedException
getRootViewPath
protected hudson.FilePath getRootViewPath(ClearToolLauncher launcher)
- Specified by:
getRootViewPath in class ClearToolExec
setView
public void setView(java.lang.String viewTag)
throws java.io.IOException,
java.lang.InterruptedException
- Parameters:
viewTag - Any view tag specifying a dynamic view that is registered for the current network region.
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2008. All Rights Reserved.