|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClearTool
| Method Summary | |
|---|---|
java.lang.String |
catcs(java.lang.String viewName)
Retrieves the config spec for the specified view name |
boolean |
doesViewExist(java.lang.String viewName)
Checks whether the given view tag already exists in the ClearCase region. |
void |
endView(java.lang.String viewName)
Ends the view |
ClearToolLauncher |
getLauncher()
Get the inner CLearToolLauncher. |
java.util.Properties |
getViewData(java.lang.String viewName)
Gets the view UUID, for thorough view deletion. |
void |
logRedundantCleartoolError(java.lang.String[] cmd,
java.lang.Exception ex)
|
java.io.Reader |
lsactivity(java.lang.String activity,
java.lang.String commandFormat,
java.lang.String viewname)
Lists activities .......(?) |
java.lang.String |
lscurrentview(java.lang.String viewPath)
Given a relative path, return the associated view tag if it exists. |
java.io.Reader |
lshistory(java.lang.String format,
java.util.Date lastBuildDate,
java.lang.String viewName,
java.lang.String branch,
java.lang.String[] pathsInView)
Returns Reader containing output from lshistory. |
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 |
mkview(java.lang.String viewName,
java.lang.String streamSelector,
java.lang.String defaultStorageDir)
Creates and registers a view |
void |
mountVobs()
Mounts all VOBs. |
java.lang.String |
pwv(java.lang.String viewName)
Retrieves the canonical working directory for a given view. |
void |
rmview(java.lang.String viewName)
Removes the view from a VOB |
void |
rmviewtag(java.lang.String viewName)
Removes the view tag from the ClearCase registry - used when the view storage in the workspace has already been deleted. |
void |
rmviewUuid(java.lang.String viewUuid)
Removes the view (as identified by UUID) from all VOBs |
void |
setcs(java.lang.String viewName,
java.lang.String configSpec)
Sets the config spec of the view |
void |
startView(java.lang.String viewTags)
Starts or connects to a dynamic view's view_server process |
void |
syncronizeViewWithStream(java.lang.String viewName,
java.lang.String stream)
Syncronizes the Dynamic UCM view with the streams recomended baseline |
void |
unregisterView(java.lang.String viewUuid)
Unregisters the view tag for a given UUID. |
void |
update(java.lang.String viewName,
java.lang.String[] loadRules)
Updates the elements in the view |
| Method Detail |
|---|
ClearToolLauncher getLauncher()
void update(java.lang.String viewName,
java.lang.String[] loadRules)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the viewloadRules - optional load rules, null if not used.
java.io.IOException
java.lang.InterruptedException
void endView(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the view
java.io.IOException
java.lang.InterruptedException
void rmview(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the view
java.io.IOException
java.lang.InterruptedException
void unregisterView(java.lang.String viewUuid)
throws java.io.IOException,
java.lang.InterruptedException
viewUuid - the unique identifier for the view.
java.io.IOException
java.lang.InterruptedException
void rmviewUuid(java.lang.String viewUuid)
throws java.io.IOException,
java.lang.InterruptedException
viewUuid - the unique identifier for the view
java.io.IOException
java.lang.InterruptedException
void rmviewtag(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the view
java.io.IOException
java.lang.InterruptedException
void mkview(java.lang.String viewName,
java.lang.String streamSelector)
throws java.io.IOException,
java.lang.InterruptedException
launcher - launcher for launching the commandviewName - the name of the viewstreamSelector - optional stream selector, null if not used.
java.io.IOException
java.lang.InterruptedException
void mkview(java.lang.String viewName,
java.lang.String streamSelector,
java.lang.String defaultStorageDir)
throws java.io.IOException,
java.lang.InterruptedException
launcher - launcher for launching the commandviewName - the name of the viewstreamSelector - optional stream selector, null if not used.
java.io.IOException
java.lang.InterruptedException
void setcs(java.lang.String viewName,
java.lang.String configSpec)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the viewconfigSpec - the name of the file containing a config spec
java.io.IOException
java.lang.InterruptedException
void mklabel(java.lang.String viewName,
java.lang.String label)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the viewlabel - the label name
java.io.IOException
java.lang.InterruptedException
java.io.Reader lshistory(java.lang.String format,
java.util.Date lastBuildDate,
java.lang.String viewName,
java.lang.String branch,
java.lang.String[] pathsInView)
throws java.io.IOException,
java.lang.InterruptedException
format - format that should be used by the lshistory commandlastBuildDate - 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
listedpathsInView - view paths that should be added to the lshistory command. The view paths must be relative.
java.io.IOException
java.lang.InterruptedException
java.io.Reader lsactivity(java.lang.String activity,
java.lang.String commandFormat,
java.lang.String viewname)
throws java.io.IOException,
java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
java.util.List<java.lang.String> lsview(boolean onlyActiveDynamicViews)
throws java.io.IOException,
java.lang.InterruptedException
onlyActiveDynamicViews - true for only return active dynamic views; false all views are returned
java.io.IOException
java.lang.InterruptedException
java.lang.String lscurrentview(java.lang.String viewPath)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
java.util.List<java.lang.String> lsvob(boolean onlyMOunted)
throws java.io.IOException,
java.lang.InterruptedException
onlyMOunted - true for only return mounted vobs; false all vobs are returned
java.io.IOException
java.lang.InterruptedException
boolean doesViewExist(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the view tag to check
java.io.IOException
java.lang.InterruptedException
java.lang.String pwv(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the view to use
java.io.IOException
java.lang.InterruptedException
java.lang.String catcs(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName - the name of the view
java.io.IOException
java.lang.InterruptedException
void startView(java.lang.String viewTags)
throws java.io.IOException,
java.lang.InterruptedException
viewTags - One or more currently registered view tags (that is, view tags visible to lsview).
java.io.IOException
java.lang.InterruptedException
void mountVobs()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
void syncronizeViewWithStream(java.lang.String viewName,
java.lang.String stream)
throws java.io.IOException,
java.lang.InterruptedException
viewName - stream -
java.io.IOException
java.lang.InterruptedException
java.util.Properties getViewData(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
viewName -
java.io.IOException
java.lang.InterruptedException
void logRedundantCleartoolError(java.lang.String[] cmd,
java.lang.Exception ex)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||