|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.clearcase.ClearToolExec
public abstract class ClearToolExec
| Field Summary | |
|---|---|
protected ClearToolLauncher |
launcher
|
protected hudson.util.VariableResolver<java.lang.String> |
variableResolver
|
| Constructor Summary | |
|---|---|
ClearToolExec(hudson.util.VariableResolver<java.lang.String> variableResolver,
ClearToolLauncher launcher)
|
|
| 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. |
protected abstract hudson.FilePath |
getRootViewPath(ClearToolLauncher launcher)
|
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[] viewPaths)
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 |
mountVobs()
Mounts all VOBs. |
java.lang.String |
pwv(java.lang.String viewName)
Retrieves the canonical working directory for a given view. |
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 |
protected java.lang.String |
runAndProcessOutput(hudson.util.ArgumentListBuilder cmd,
hudson.FilePath workFolder,
boolean catchExceptions,
java.util.List<java.io.IOException> exceptions)
|
void |
unregisterView(java.lang.String uuid)
Unregisters the view tag for a given UUID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.plugins.clearcase.ClearTool |
|---|
mkview, mkview, rmview, setcs, startView, syncronizeViewWithStream, update |
| Field Detail |
|---|
protected ClearToolLauncher launcher
protected hudson.util.VariableResolver<java.lang.String> variableResolver
| Constructor Detail |
|---|
public ClearToolExec(hudson.util.VariableResolver<java.lang.String> variableResolver,
ClearToolLauncher launcher)
| Method Detail |
|---|
public ClearToolLauncher getLauncher()
ClearTool
getLauncher in interface ClearToolprotected abstract hudson.FilePath getRootViewPath(ClearToolLauncher launcher)
public java.io.Reader lshistory(java.lang.String format,
java.util.Date lastBuildDate,
java.lang.String viewName,
java.lang.String branch,
java.lang.String[] viewPaths)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
lshistory in interface ClearToolformat - 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
listedviewPaths - view paths that should be added to the lshistory command. The view paths must be relative.
java.io.IOException
java.lang.InterruptedException
public java.io.Reader lsactivity(java.lang.String activity,
java.lang.String commandFormat,
java.lang.String viewname)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
lsactivity in interface ClearTooljava.io.IOException
java.lang.InterruptedException
public void mklabel(java.lang.String viewName,
java.lang.String label)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
mklabel in interface ClearToolviewName - the name of the viewlabel - the label name
java.io.IOException
java.lang.InterruptedException
public java.util.List<java.lang.String> lsview(boolean onlyActiveDynamicViews)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
lsview in interface ClearToolonlyActiveDynamicViews - true for only return active dynamic views; false all views are returned
java.io.IOException
java.lang.InterruptedException
public java.lang.String lscurrentview(java.lang.String viewPath)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
lscurrentview in interface ClearTooljava.io.IOException
java.lang.InterruptedException
public boolean doesViewExist(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
doesViewExist in interface ClearToolviewName - the view tag to check
java.io.IOException
java.lang.InterruptedException
public java.util.List<java.lang.String> lsvob(boolean onlyMounted)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
lsvob in interface ClearToolonlyMounted - true for only return mounted vobs; false all vobs are returned
java.io.IOException
java.lang.InterruptedException
public java.lang.String pwv(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
pwv in interface ClearToolviewName - the view to use
java.io.IOException
java.lang.InterruptedException
public java.lang.String catcs(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
catcs in interface ClearToolviewName - the name of the view
java.io.IOException
java.lang.InterruptedException
public void mountVobs()
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
mountVobs in interface ClearTooljava.io.IOException
java.lang.InterruptedException
public java.util.Properties getViewData(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
getViewData in interface ClearTooljava.io.IOException
java.lang.InterruptedException
public void endView(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
endView in interface ClearToolviewName - the name of the view
java.io.IOException
java.lang.InterruptedException
public void rmviewtag(java.lang.String viewName)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
rmviewtag in interface ClearToolviewName - the name of the view
java.io.IOException
java.lang.InterruptedException
public void unregisterView(java.lang.String uuid)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
unregisterView in interface ClearTooluuid - the unique identifier for the view.
java.io.IOException
java.lang.InterruptedException
public void rmviewUuid(java.lang.String viewUuid)
throws java.io.IOException,
java.lang.InterruptedException
ClearTool
rmviewUuid in interface ClearToolviewUuid - the unique identifier for the view
java.io.IOException
java.lang.InterruptedException
protected java.lang.String runAndProcessOutput(hudson.util.ArgumentListBuilder cmd,
hudson.FilePath workFolder,
boolean catchExceptions,
java.util.List<java.io.IOException> exceptions)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void logRedundantCleartoolError(java.lang.String[] cmd,
java.lang.Exception ex)
logRedundantCleartoolError in interface ClearTool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||