com.semarchy.mdm.runtime.model.integration
Interface ITaskDefinition

All Known Subinterfaces:
DBLoadTaskDefinition, DBLoopTaskDefinition, IDBDDLTaskDefinition, IDBQueryTaskDefinition, IDBTaskDefinition, IDBUpdateTaskDefinition, IPluginEnricherTaskDefinition, IPluginMatcherTaskDefinition, IPluginTaskDefinition, IPluginValidatorTaskDefinition

public interface ITaskDefinition

represents a generic task definition as exposed by the integration model

Author:
skamel

Method Summary
 String getExecuteWhenCondition()
           
 String getName()
           
 String getPostExecuteAction()
           
 boolean isErrorOK()
           
 

Method Detail

getName

String getName()
Returns:
a name for this task

getExecuteWhenCondition

String getExecuteWhenCondition()
Returns:
a string that represents a boolean condition to be evaluated by the execution engine to make a conditional execution of this task. The engine may use a scripting language such as groovy for evaluating this string.

getPostExecuteAction

String getPostExecuteAction()
Returns:
a string that represents a script to be executed by the execution engine after this task has been successfully executed. The engine may use a scripting language such as groovy for running this string.

isErrorOK

boolean isErrorOK()
Returns:
indicates whether an error on this task should be considered as non critical to an execution process. Engines that execute such tasks should report a non severe error (warning)


Copyright © 2015. All Rights Reserved.