hudson.plugins.clearcase
Interface ClearTool

All Known Implementing Classes:
ClearToolDynamic, ClearToolExec, ClearToolSnapshot

public interface ClearTool


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

Method Detail

update

void update(ClearToolLauncher launcher,
            java.lang.String viewName)
            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
Throws:
java.io.IOException
java.lang.InterruptedException

rmview

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

setcs

void setcs(ClearToolLauncher launcher,
           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(ClearToolLauncher launcher,
             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(ClearToolLauncher launcher,
                                                  java.util.Date lastBuildDate,
                                                  java.lang.String viewName,
                                                  java.lang.String branch)
                                                  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(ClearToolLauncher launcher,
                                        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(ClearToolLauncher launcher,
                                       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(ClearToolLauncher launcher,
                       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

setVobPaths

void setVobPaths(java.lang.String vobPaths)


Copyright © 2007. All Rights Reserved.