public interface EPDataFlowRuntime
Modifier and Type | Method and Description |
---|---|
EPDataFlowDescriptor |
getDataFlow(String dataFlowName)
Returns a descriptor for the given data flow, or null if the data flow has not been declared.
|
String[] |
getDataFlows()
Returns the names of all declared data flows.
|
EPDataFlowSavedConfiguration |
getSavedConfiguration(String configurationName)
Returns a saved dataflow configuration or null if it is not found.
|
String[] |
getSavedConfigurations()
Returns the names of a saved data flow configurations.
|
EPDataFlowInstance |
getSavedInstance(String instanceName)
Returns a specific saved data flow instance, or null if it has not been found
|
String[] |
getSavedInstances()
Returns the instance names of a saved data flow instances.
|
EPDataFlowInstance |
instantiate(String dataFlowName)
Instantiate a data flow.
|
EPDataFlowInstance |
instantiate(String dataFlowName,
EPDataFlowInstantiationOptions options)
Instantiate a data flow, with options.
|
EPDataFlowInstance |
instantiateSavedConfiguration(String configurationName)
Instantiate a data flow from a saved configuration.
|
boolean |
removeSavedConfiguration(String configurationName)
Remove a previously saved data flow configuration.
|
boolean |
removeSavedInstance(String instanceName)
Remove an instance previously saved.
|
void |
saveConfiguration(String dataflowConfigName,
String dataFlowName,
EPDataFlowInstantiationOptions options)
Save an existing data flow configuration (data flow name and its options) for later retrieval.
|
void |
saveInstance(String instanceName,
EPDataFlowInstance instance)
Save an existing instance with the runtime, for later retrieval.
|
EPDataFlowDescriptor getDataFlow(String dataFlowName)
dataFlowName
- data flow nameString[] getDataFlows()
EPDataFlowInstance instantiate(String dataFlowName) throws EPDataFlowInstantiationException
dataFlowName
- name of data flow to instantiateEPDataFlowInstantiationException
- when the instantiation failedEPDataFlowInstance instantiate(String dataFlowName, EPDataFlowInstantiationOptions options) throws EPDataFlowInstantiationException
dataFlowName
- name of data flow to instantiateoptions
- populate options to control parameterization, instantiation etc.EPDataFlowInstantiationException
- when the instantiation failedvoid saveConfiguration(String dataflowConfigName, String dataFlowName, EPDataFlowInstantiationOptions options) throws EPDataFlowAlreadyExistsException, EPDataFlowNotFoundException
dataflowConfigName
- configuration name to save, must be uniquedataFlowName
- data flow nameoptions
- options objectEPDataFlowAlreadyExistsException
- if the configuration name is already usedEPDataFlowNotFoundException
- if the data flow by this name does not existString[] getSavedConfigurations()
EPDataFlowSavedConfiguration getSavedConfiguration(String configurationName)
configurationName
- name to findEPDataFlowInstance instantiateSavedConfiguration(String configurationName) throws EPDataFlowInstantiationException
configurationName
- configuration nameEPDataFlowInstantiationException
- if the configuration name could not be foundboolean removeSavedConfiguration(String configurationName)
configurationName
- to removevoid saveInstance(String instanceName, EPDataFlowInstance instance) throws EPDataFlowAlreadyExistsException
instanceName
- name to use to save, must be unique among currently saved instancesinstance
- savedEPDataFlowAlreadyExistsException
- if an instance by this name already existsString[] getSavedInstances()
EPDataFlowInstance getSavedInstance(String instanceName)
instanceName
- to look forboolean removeSavedInstance(String instanceName)
instanceName
- to be removed