@HookConfig public interface VariantToBeEditedHook extends Hook
Modifier and Type | Method and Description |
---|---|
void |
variantToBeEdited(Report referenceVariant,
ReportDto reportDto,
java.lang.String executorToken)
Called just before the edits in a variant are going to be saved.
|
void variantToBeEdited(Report referenceVariant, ReportDto reportDto, java.lang.String executorToken) throws ServerCallFailedException
referenceVariant
- the original, not yet saved report. This shows the
current state of the report in the database.reportDto
- the report with the changes.executorToken
- the executor token.ServerCallFailedException