com.semarchy.mdm.runtime.model.integration
Interface IPluginTaskDefinition
- All Superinterfaces:
- ITaskDefinition
- All Known Subinterfaces:
- IPluginEnricherTaskDefinition, IPluginMatcherTaskDefinition, IPluginValidatorTaskDefinition
public interface IPluginTaskDefinition
- extends ITaskDefinition
Defines a generic interface for plugin-related tasks
The engine will use the number of records returned by looping over
Statement.executeQuery(String)
to update the row count for such tasks unless otherwise specified
by sub-interface of this interface.
TODO: Finish this stuff
- Author:
- skamel
getInputSelectSQL
String getInputSelectSQL()
- Returns:
- the select statement to obtain input data to inject to the plugin input
getColumnName
String getColumnName(String pInputName)
- Parameters:
pInputName
- unique name of input
- Returns:
- the name of the column in the JDBC result set to bind to the given input name.
returns null if input name is not mapped
getIDColumnNames
Set<String> getIDColumnNames()
- Returns:
- the set of ID column names that identify an input row from the select statement
getNumberOfRetry
int getNumberOfRetry()
- Returns:
- the maximum number of fails before error state
getThreadPoolSize
int getThreadPoolSize()
- Returns:
- number of threads used to execute plugin
getOnErrorBehavior
OnErrorBehavior getOnErrorBehavior()
- Returns:
- the behavior of the task on error.
- See Also:
OnErrorBehavior}
isSelectCounter
boolean isSelectCounter()
- Returns:
- indicates whether this task contributes to the overall SELECT counter of a job report
Copyright © 2015. All Rights Reserved.