hudson.plugins.clearcase
Class ClearToolDynamic

java.lang.Object
  extended by hudson.plugins.clearcase.ClearToolExec
      extended by hudson.plugins.clearcase.ClearToolDynamic
All Implemented Interfaces:
ClearTool

public class ClearToolDynamic
extends ClearToolExec


Field Summary
 
Fields inherited from class hudson.plugins.clearcase.ClearToolExec
clearToolExec, launcher
 
Constructor Summary
ClearToolDynamic(ClearToolLauncher launcher, java.lang.String clearToolExec, java.lang.String viewDrive)
           
 
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 hudson.plugins.clearcase.ClearToolExec
catcs, lshistory, lsview, lsvob, mklabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearToolDynamic

public ClearToolDynamic(ClearToolLauncher launcher,
                        java.lang.String clearToolExec,
                        java.lang.String viewDrive)
Method Detail

getRootViewPath

protected hudson.FilePath getRootViewPath(ClearToolLauncher launcher)
Specified by:
getRootViewPath in class ClearToolExec

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 view
configSpec - 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 view
streamSelector - 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 view
loadRules - optional load rules, null if not used.
Throws:
java.io.IOException
java.lang.InterruptedException

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.