|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.clearcase.ClearToolExec com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearToolUcmBaseline
public class ClearToolUcmBaseline
This class defines the cleartool command for use by
ClearCaseUcmBaselineParameterValue.createBuildWrapper(hudson.model.AbstractBuild)
.
While this class extends ClearToolExec
, most of ClearToolExec
's
methods will throw an UnsupportedOperationException
since only the methods
useful for ClearCaseUcmBaselineParameterValue.createBuildWrapper(hudson.model.AbstractBuild)
have been implemented.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.plugins.clearcase.ClearTool |
---|
hudson.plugins.clearcase.ClearTool.DefaultPromotionLevel, hudson.plugins.clearcase.ClearTool.DiffBlOptions, hudson.plugins.clearcase.ClearTool.SetcsOption |
Field Summary |
---|
Fields inherited from class hudson.plugins.clearcase.ClearToolExec |
---|
launcher, optionalMkviewParameters, variableResolver |
Constructor Summary | |
---|---|
ClearToolUcmBaseline(hudson.util.VariableResolver variableResolver,
hudson.plugins.clearcase.ClearToolLauncher launcher)
|
Method Summary | |
---|---|
java.lang.String |
getBaselineDescription(java.lang.String pvob,
java.lang.String baseline)
Returns, for a given ClearCase UCM baseline, its description. |
java.lang.String |
getComponentFromBaseline(java.lang.String pvob,
java.lang.String baseline)
Returns, for a given ClearCase UCM baseline, the ClearCase UCM component this baseline refers to. |
java.lang.String |
getComponentRootDir(java.lang.String pvob,
java.lang.String component)
Returns, for a given ClearCase UCM component, its root dir. |
java.lang.String[] |
getDependentBaselines(java.lang.String pvob,
java.lang.String baseline)
Returns, for a given ClearCase UCM composite baseline, all the baselines in the dependencies graph. |
protected hudson.FilePath |
getRootViewPath(hudson.plugins.clearcase.ClearToolLauncher launcher)
|
void |
mkview(java.lang.String viewName,
java.lang.String streamSelector)
|
void |
mkview(java.lang.String viewName,
java.lang.String mkviewOptionalParam,
boolean snapshotView,
java.lang.String streamSelector)
|
void |
mkview(java.lang.String viewName,
java.lang.String streamSelector,
java.lang.String defaultStorageDir)
|
void |
rmview(java.lang.String viewName)
|
void |
rmviewtag(java.lang.String viewName)
|
void |
setcs(java.lang.String viewName,
java.lang.String configSpec)
|
void |
startView(java.lang.String viewTags)
|
void |
syncronizeViewWithStream(java.lang.String viewName,
java.lang.String stream)
|
void |
update(java.lang.String viewName,
java.lang.String loadRules)
|
void |
update(java.lang.String viewName,
java.lang.String[] loadRules)
|
Methods inherited from class hudson.plugins.clearcase.ClearToolExec |
---|
catcs, describe, diffbl, doesStreamExist, doesViewExist, endView, getLauncher, getViewData, lock, logRedundantCleartoolError, lsactivity, lsbl, lscurrentview, lshistory, lsproject, lsstream, lsview, lsvob, mkbl, mklabel, mkstream, mkview, mountVobs, pwv, rebaseDynamic, recommendBaseline, rmtag, rmviewUuid, runAndProcessOutput, setBaselinePromotionLevel, setBaselinePromotionLevel, setcs, setcsCurrent, setcsTag, unlock, unregisterView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClearToolUcmBaseline(hudson.util.VariableResolver variableResolver, hudson.plugins.clearcase.ClearToolLauncher launcher)
Method Detail |
---|
public java.lang.String getBaselineDescription(java.lang.String pvob, java.lang.String baseline) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public java.lang.String getComponentFromBaseline(java.lang.String pvob, java.lang.String baseline) throws java.io.IOException, java.lang.InterruptedException
The ClearCase UCM components are cached for each instance of the class.
java.io.IOException
java.lang.InterruptedException
(%[component]p, page 392)
public java.lang.String getComponentRootDir(java.lang.String pvob, java.lang.String component) throws java.io.IOException, java.lang.InterruptedException
Note that in case the component is rootless, an empty string is returned (cf. HUDSON-6398).
The root dirs are cached for each instance of the class.
java.io.IOException
java.lang.InterruptedException
(%[root_dir]p, page 392)
public java.lang.String[] getDependentBaselines(java.lang.String pvob, java.lang.String baseline) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
(%[depends_on_closure]p, page 392)
protected hudson.FilePath getRootViewPath(hudson.plugins.clearcase.ClearToolLauncher launcher)
getRootViewPath
in class hudson.plugins.clearcase.ClearToolExec
public void update(java.lang.String viewName, java.lang.String loadRules) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void rmview(java.lang.String viewName) throws java.io.IOException, java.lang.InterruptedException
rmview
in interface hudson.plugins.clearcase.ClearTool
rmview
in class hudson.plugins.clearcase.ClearToolExec
java.io.IOException
java.lang.InterruptedException
public void rmviewtag(java.lang.String viewName) throws java.io.IOException, java.lang.InterruptedException
rmviewtag
in interface hudson.plugins.clearcase.ClearTool
rmviewtag
in class hudson.plugins.clearcase.ClearToolExec
java.io.IOException
java.lang.InterruptedException
public void mkview(java.lang.String viewName, java.lang.String streamSelector) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void mkview(java.lang.String viewName, java.lang.String mkviewOptionalParam, boolean snapshotView, java.lang.String streamSelector) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void mkview(java.lang.String viewName, java.lang.String streamSelector, java.lang.String defaultStorageDir) throws java.io.IOException, java.lang.InterruptedException
mkview
in interface hudson.plugins.clearcase.ClearTool
mkview
in class hudson.plugins.clearcase.ClearToolExec
java.io.IOException
java.lang.InterruptedException
public void setcs(java.lang.String viewName, java.lang.String configSpec) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void startView(java.lang.String viewTags) throws java.io.IOException, java.lang.InterruptedException
startView
in interface hudson.plugins.clearcase.ClearTool
startView
in class hudson.plugins.clearcase.ClearToolExec
java.io.IOException
java.lang.InterruptedException
public void syncronizeViewWithStream(java.lang.String viewName, java.lang.String stream) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void update(java.lang.String viewName, java.lang.String[] loadRules) throws java.io.IOException, java.lang.InterruptedException
update
in interface hudson.plugins.clearcase.ClearTool
update
in class hudson.plugins.clearcase.ClearToolExec
java.io.IOException
java.lang.InterruptedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |