|
Project: stp | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.ibm.rational.stp.client.samples.Example
public class Example
This sample application uses the ClearCase CM API to put a file under source control.
Nested Class Summary | |
---|---|
private static class |
Example.MyAuthCallback
CM API Authentication callback. |
Field Summary | |
---|---|
private static boolean |
tracing
|
Constructor Summary | |
---|---|
Example()
|
Method Summary | |
---|---|
(package private) static void |
addToSourceControl(CcFile res,
CcDirectory parent)
Put the specified file under ClearCase source control. |
(package private) static CcFile |
buildProxy(File f,
CcProvider provider)
Construct a CcFile proxy for the specified file. |
(package private) static CcProvider |
getProvider(String serverUrl,
String login,
String password)
Get the ClearCase CM API provider for this example. |
static void |
main(String[] args)
|
(package private) static void |
myAssert(boolean expr)
|
(package private) static void |
printProps(CcFile file)
Print some interesting properties of the specified file. |
(package private) static void |
printUsageMsg()
|
(package private) static void |
trace(String string)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static boolean tracing
Constructor Detail |
---|
public Example()
Method Detail |
---|
static void printUsageMsg()
static CcProvider getProvider(String serverUrl, String login, String password) throws Exception
Exception
- if provider cannot be instantiatedstatic CcFile buildProxy(File f, CcProvider provider) throws javax.wvcm.WvcmException
javax.wvcm.WvcmException
static void printProps(CcFile file) throws javax.wvcm.WvcmException
javax.wvcm.WvcmException
static void addToSourceControl(CcFile res, CcDirectory parent) throws Exception
Exception
static void myAssert(boolean expr)
static void trace(String string)
public static void main(String[] args)
|
Generated Thu 9-Apr-2015 01:08 AM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |