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, vobPaths
 
Constructor Summary
ClearToolDynamic(java.lang.String clearToolExec, java.lang.String viewDrive)
           
 
Method Summary
protected  hudson.FilePath getRootViewPath(ClearToolLauncher launcher)
           
 void mkview(ClearToolLauncher launcher, java.lang.String viewName)
          Creates and registers a view
 void rmview(ClearToolLauncher launcher, java.lang.String viewName)
          Removes the view from a VOB
 void setcs(ClearToolLauncher launcher, java.lang.String viewName, java.lang.String configSpec)
          Sets the config spec of the view
 void update(ClearToolLauncher launcher, java.lang.String viewName)
          Updates the elements in the view
 
Methods inherited from class hudson.plugins.clearcase.ClearToolExec
catcs, getVobPaths, lshistory, lsview, lsvob, mklabel, setVobPaths
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearToolDynamic

public ClearToolDynamic(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(ClearToolLauncher launcher,
                  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:
launcher - launcher for launching the command
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(ClearToolLauncher launcher,
                   java.lang.String viewName)
            throws java.io.IOException,
                   java.lang.InterruptedException
Description copied from interface: ClearTool
Creates and registers a view

Parameters:
launcher - launcher for launching the command
viewName - the name of the view
Throws:
java.io.IOException
java.lang.InterruptedException

rmview

public void rmview(ClearToolLauncher launcher,
                   java.lang.String viewName)
            throws java.io.IOException,
                   java.lang.InterruptedException
Description copied from interface: ClearTool
Removes the view from a VOB

Parameters:
launcher - launcher for launching the command
viewName - the name of the view
Throws:
java.io.IOException
java.lang.InterruptedException

update

public void update(ClearToolLauncher launcher,
                   java.lang.String viewName)
            throws java.io.IOException,
                   java.lang.InterruptedException
Description copied from interface: ClearTool
Updates the elements in the view

Parameters:
launcher - launcher for launching the command
viewName - the name of the view
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2007. All Rights Reserved.