com.ibm.rational.stp.client.samples.cc
Class ViewHelper
Object
com.ibm.rational.stp.client.samples.cc.ViewHelper
public class ViewHelper
- extends Object
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_view
private CcView m_view
m_provider
private final CcProvider m_provider
m_demoDir
private CcDirectory m_demoDir
m_vobRootDir
private CcDirectory m_vobRootDir
m_props
private final CcDemoProps m_props
ViewHelper
public ViewHelper(CcProvider provider,
CcDemoProps props)
getNonUcmViewHelper
public static ViewHelper getNonUcmViewHelper(CcDemoBase env)
tearDown
void tearDown()
throws Exception
- Throws:
Exception
getView
protected CcView getView()
throws Exception
- Create a temporary ClearCase web view.
This view will be deleted once the demo completes.
- Throws:
Exception
generateUniqueName
static String generateUniqueName(String baseName)
- Generate a (hopefully) unique name by adding a random integer to the
specified base name.
createDemoFile
CcFile createDemoFile(String fileName,
boolean controlled)
throws Exception
- Throws:
Exception
createDemoDirectory
private CcDirectory createDemoDirectory()
throws Exception
- Create a version-controlled directory in the demo VOB.
- Throws:
Exception
getDemoVobRootDirectory
private CcDirectory getDemoVobRootDirectory()
throws Exception
- Get the root directory of the demo VOB in the context of the
demo web view.
- Throws:
Exception
Copyright © IBM 2010. All rights reserved.