com.ibm.ras.example.repository
Class CreateRemoveWorkgroupRepository

java.lang.Object
  extended bycom.ibm.xtools.pluglets.Pluglet
      extended bycom.ibm.ras.example.repository.CreateRemoveWorkgroupRepository

public class CreateRemoveWorkgroupRepository
extends com.ibm.xtools.pluglets.Pluglet

The CreateRemoveWorkgroupRepository pluglet provides an example of how to create and remove a workgroup repository connection. The pluglet demonstrates the following operations:

When run successfully, the metrics about the workgroup repository created are sent to the Console view.

Note: To successfully execute this pluglet you must install a workgroup repository. For details about how to install a workgroup repository, go to the IBM alphaWorks Web site and search for RAS. After setting up and configuring your workgroup repository, change the connection URL (connectionURL) in the pluglet code to connect to it.

Warning: This example uses RAS API that is located in internal packages. It is subject to significant change without any warning to implementing clients. Any client using this API should anticipate adapting to multiple changes in future releases.


Field Summary
 String connectionURL
          Represents the connection URL to the workgroup repository.
 
Fields inherited from class com.ibm.xtools.pluglets.Pluglet
out
 
Constructor Summary
CreateRemoveWorkgroupRepository()
           
 
Method Summary
 void plugletmain(String[] args)
          Represents the main excecution point for the pluglet.
 
Methods inherited from class com.ibm.xtools.pluglets.Pluglet
confirm, confirm, dumpStack, dumpStack, error, error, getDialog, getDirectory, getFile, getFullName, getName, inform, inform, printStackTrace, printStackTrace, prompt, prompt, prompt, question, question, setDialog, setDirectory, setFile, setFullName, setName, warning, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionURL

public String connectionURL
Represents the connection URL to the workgroup repository.

The connection URL is pre-defined to a local URL to verify that the pluglet runs. You need to setup your own workgroup repository and change the initial URL.

Constructor Detail

CreateRemoveWorkgroupRepository

public CreateRemoveWorkgroupRepository()
Method Detail

plugletmain

public void plugletmain(String[] args)
Represents the main excecution point for the pluglet.

Parameters:
args - The arguments passed to the pluget when it is executed.