hudson.plugins.clearcase
Interface ClearTool

All Known Implementing Classes:
ClearToolDynamic, ClearToolExec, ClearToolSnapshot

public interface ClearTool


Method Summary
 java.lang.String catcs(java.lang.String viewName)
          Retrives the config spec for the specified viewname
 java.util.List<ClearCaseChangeLogEntry> lshistory(java.util.Date lastBuildDate, java.lang.String viewName, java.lang.String branch, java.lang.String vobPaths)
          Lists event records for VOB-database objects
 java.util.List<java.lang.String> lsview(boolean onlyActiveDynamicViews)
          Lists view registry entries
 java.util.List<java.lang.String> lsvob(boolean onlyMOunted)
          Lists VOB registry entries
 void mklabel(java.lang.String viewName, java.lang.String label)
          Attaches version labels to versions of elements
 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
 

Method Detail

update

void update(java.lang.String viewName,
            java.lang.String loadRules)
            throws java.io.IOException,
                   java.lang.InterruptedException
Updates the elements in the view

Parameters:
launcher - launcher for launching the command
viewName - the name of the view
loadRules - optional load rules, null if not used.
Throws:
java.io.IOException
java.lang.InterruptedException

rmview

void rmview(java.lang.String viewName)
            throws java.io.IOException,
                   java.lang.InterruptedException
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

mkview

void mkview(java.lang.String viewName,
            java.lang.String streamSelector)
            throws java.io.IOException,
                   java.lang.InterruptedException
Creates and registers a view

Parameters:
launcher - launcher for launching the command
viewName - the name of the view
streamSelector - optional stream selector, null if not used.
Throws:
java.io.IOException
java.lang.InterruptedException

setcs

void setcs(java.lang.String viewName,
           java.lang.String configSpec)
           throws java.io.IOException,
                  java.lang.InterruptedException
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

mklabel

void mklabel(java.lang.String viewName,
             java.lang.String label)
             throws java.io.IOException,
                    java.lang.InterruptedException
Attaches version labels to versions of elements

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

lshistory

java.util.List<ClearCaseChangeLogEntry> lshistory(java.util.Date lastBuildDate,
                                                  java.lang.String viewName,
                                                  java.lang.String branch,
                                                  java.lang.String vobPaths)
                                                  throws java.io.IOException,
                                                         java.lang.InterruptedException
Lists event records for VOB-database objects

Parameters:
launcher - launcher for launching the command
lastBuildDate - lists events recorded since (that is, at or after) the specified date-time
viewName - the name of the view
branch - the name of the branch to get history events for; if null then history events for all branches are listed
Returns:
the event records
Throws:
java.io.IOException
java.lang.InterruptedException

lsview

java.util.List<java.lang.String> lsview(boolean onlyActiveDynamicViews)
                                        throws java.io.IOException,
                                               java.lang.InterruptedException
Lists view registry entries

Parameters:
launcher - launcher for launching the command
onlyActiveDynamicViews - true for only return active dynamic views; false all views are returned
Returns:
list of view names
Throws:
java.io.IOException
java.lang.InterruptedException

lsvob

java.util.List<java.lang.String> lsvob(boolean onlyMOunted)
                                       throws java.io.IOException,
                                              java.lang.InterruptedException
Lists VOB registry entries

Parameters:
launcher - launcher for launching the command
onlyMOunted - true for only return mounted vobs; false all vobs are returned
Returns:
list of vob names
Throws:
java.io.IOException
java.lang.InterruptedException

catcs

java.lang.String catcs(java.lang.String viewName)
                       throws java.io.IOException,
                              java.lang.InterruptedException
Retrives the config spec for the specified viewname

Parameters:
launcher - launcher for launching the command
viewName - the name of the view
Returns:
a string containing the config spec
Throws:
java.io.IOException
java.lang.InterruptedException

setView

void setView(java.lang.String viewTag)
             throws java.io.IOException,
                    java.lang.InterruptedException
Parameters:
launcher - launcher for launching the command Creates a process that is set to a dynamic view
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.