|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Integrator
An inteface for using the integration features of this program. This interface is designed to be used by the UI.
Method Summary | |
---|---|
void |
addGraph(java.lang.String graphName)
Adds a new graph to this Integrator. |
java.util.List |
getGraphs()
Returns an array of all resource graphs known to this Integrator. |
java.util.List |
getSources(java.lang.String graph)
Returns the descriptions of the sources that are integrated into a graph. |
void |
integrate(DataSourceDescription[] sources,
java.lang.String graph)
Starts the creation of a new resource graph in the integration subsystem. |
java.lang.String |
setLogListener(java.lang.String graph,
LogListener listener)
Sets a listener for log messages sent by this Integrator. |
Methods inherited from interface maito.DataProcessor |
---|
getCurrentTasks, getErrors, setLogListener, workInProgress |
Method Detail |
---|
void addGraph(java.lang.String graphName) throws java.lang.IllegalArgumentException
integrate
-method is called.
graphName
- The name of the new resource graph
java.lang.IllegalArgumentException
- Thrown when the graph with the given name already exists.java.util.List getGraphs()
java.util.List getSources(java.lang.String graph) throws java.lang.IllegalArgumentException
graph
- The graph that's source are to be returned.
java.lang.IllegalArgumentException
- Thrown if something is wrong with the graph
parameter.void integrate(DataSourceDescription[] sources, java.lang.String graph) throws IntegrationException
sources
- The data sources that are integrated.graph
- The name of the graph that is to be integrated.
IntegrationException
- Thrown if something goes wrong during the integration process.java.lang.String setLogListener(java.lang.String graph, LogListener listener)
graph
- The resource graph that's log messages are to be listened to. If null
all messages are listened to.listener
- The object that listens to this Integrator's log messages.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |