Interface EvaluationExecutionExtension
public interface EvaluationExecutionExtension
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustDataHolder
(EvaluationExecutionExtension.EvaluationExecutionExtensionDataHolder dataHolder, Entity intrusion, Entity entity) Called in AutoEvaluationIntrusionBatchJob per entity without an execution.Override if a custom data holder is usedvoid
Called in AutoEvaluationIntrusionBatchJob once after all GenerateEvaluationExecutionsTask are done.void
setOrAdjustFieldsOnSourceEntity
(Entity sourceEntity, Entity createdExecution) Called in GenerateEvaluationExecutionsTask
-
Method Details
-
setOrAdjustFieldsOnSourceEntity
Called in GenerateEvaluationExecutionsTask- Parameters:
sourceEntity
- the source entity from the CommandContext within which this method is executed.createdExecution
- the created evaluation execution to be adjusted.
-
adjustDataHolder
void adjustDataHolder(EvaluationExecutionExtension.EvaluationExecutionExtensionDataHolder dataHolder, Entity intrusion, Entity entity) Called in AutoEvaluationIntrusionBatchJob per entity without an execution. Should be used to add some infos to EvaluationExecutionExtensionDataHolder which is later used in `doAfter` -
doAfter
Called in AutoEvaluationIntrusionBatchJob once after all GenerateEvaluationExecutionsTask are done. E.g. can be used to send additional mails -
createDataHolder
Override if a custom data holder is used
-