hudson.plugins.clearcase
Class ClearToolExec
java.lang.Object
hudson.plugins.clearcase.ClearToolExec
- All Implemented Interfaces:
- ClearTool
- Direct Known Subclasses:
- ClearToolDynamic, ClearToolSnapshot
public abstract class ClearToolExec
- extends java.lang.Object
- implements ClearTool
|
Method Summary |
java.lang.String |
catcs(java.lang.String viewName)
Retrives the config spec for the specified viewname |
protected abstract hudson.FilePath |
getRootViewPath(ClearToolLauncher launcher)
|
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clearToolExec
protected transient java.lang.String clearToolExec
launcher
protected ClearToolLauncher launcher
ClearToolExec
public ClearToolExec(ClearToolLauncher launcher,
java.lang.String clearToolExec)
getRootViewPath
protected abstract hudson.FilePath getRootViewPath(ClearToolLauncher launcher)
lshistory
public 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
- Description copied from interface:
ClearTool
- Lists event records for VOB-database objects
- Specified by:
lshistory in interface ClearTool
- Parameters:
lastBuildDate - lists events recorded since (that is, at or after) the specified date-timeviewName - the name of the viewbranch - 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
mklabel
public void mklabel(java.lang.String viewName,
java.lang.String label)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Attaches version labels to versions of elements
- Specified by:
mklabel in interface ClearTool
- Parameters:
viewName - the name of the viewlabel - the label name
- Throws:
java.io.IOException
java.lang.InterruptedException
lsview
public java.util.List<java.lang.String> lsview(boolean onlyActiveDynamicViews)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Lists view registry entries
- Specified by:
lsview in interface ClearTool
- Parameters:
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
public java.util.List<java.lang.String> lsvob(boolean onlyMOunted)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Lists VOB registry entries
- Specified by:
lsvob in interface ClearTool
- Parameters:
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
public java.lang.String catcs(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
ClearTool
- Retrives the config spec for the specified viewname
- Specified by:
catcs in interface ClearTool
- Parameters:
viewName - the name of the view
- Returns:
- a string containing the config spec
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2008. All Rights Reserved.