Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.collector
Class CollectorManager

java.lang.Object
  extended by com.ibm.etools.systems.application.collector.CollectorManager

public class CollectorManager
extends Object

Internal method for loading the Resource Collectors from the collectorContributor extension point.


Method Summary
 List buildModel(ApplicationModel model, CollectorResource[] resources, IProgressMonitor monitor)
          Build the application model for the specified Collector Resources.
static ICollectorFactory[] getCollectorFactory()
          This method queries extension point com.ibm.etools.systems.application.model.collectorContributor and returns registered Collector Factories.
static CollectorManager getInstance()
          This method returns the Collector Manager instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CollectorManager getInstance()
This method returns the Collector Manager instance.

Returns:
CollectorManager singleton.

getCollectorFactory

public static ICollectorFactory[] getCollectorFactory()
This method queries extension point com.ibm.etools.systems.application.model.collectorContributor and returns registered Collector Factories.

Returns:
Registered Collector Factories.

buildModel

public List buildModel(ApplicationModel model,
                       CollectorResource[] resources,
                       IProgressMonitor monitor)
                throws InterruptedException
Build the application model for the specified Collector Resources. This is a two step process. First step is intended to build up the initial Application Model. Second step is is optional and is intended to resolve any unresolved Model relationships.

Parameters:
model - Application Model to be built.
resources - Collector Resources.
monitor - Progress Monitor.
Returns:
A list of messages generated by the operation.
Throws:
InterruptedException - If user cancels the operation.

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.