Project: stp

com.ibm.rational.stp.client.samples.cc
Class ReadWritePropertiesDemo

Object
  extended by TestCase
      extended by com.ibm.rational.stp.client.samples.cc.CcDemoBase
          extended by com.ibm.rational.stp.client.samples.cc.ReadWritePropertiesDemo

public class ReadWritePropertiesDemo
extends CcDemoBase

Demonstrate how to read and write properties of ClearCase resources, including the use of nested property requests.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.rational.stp.client.samples.cc.CcDemoBase
CcDemoBase.DefaultCallback
 
Field Summary
private  CcProvider m_provider
           
private  CcStream m_stream
           
private  UcmHelper m_ucmHelper
           
 
Constructor Summary
ReadWritePropertiesDemo()
           
 
Method Summary
protected  void setUp()
           
 void testReadNestedProperties()
           
 void testReadProperties()
          Demonstrate property request basics by reading several properties of a UCM stream.
 
Methods inherited from class com.ibm.rational.stp.client.samples.cc.CcDemoBase
getClearCaseProvider, props, tearDown, trace
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ucmHelper

private UcmHelper m_ucmHelper

m_stream

private CcStream m_stream

m_provider

private CcProvider m_provider
Constructor Detail

ReadWritePropertiesDemo

public ReadWritePropertiesDemo()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class CcDemoBase
Throws:
Exception

testReadProperties

public void testReadProperties()
                        throws Exception
Demonstrate property request basics by reading several properties of a UCM stream.

Throws:
Exception

testReadNestedProperties

public void testReadNestedProperties()
                              throws Exception
Throws:
Exception

Generated Thu 18-Dec-2008 10:12 PM

Copyright © IBM 2008. All rights reserved.