public interface Handler
| Modifier and Type | Method and Description |
|---|---|
default boolean |
errorsAffectJobStatus()
Checks whether errors affect the status of a job.
|
void |
execute(JobData jobData,
JobReport jobReport)
Called by the Scheduler once the extraction and exportation of all the
tuples of a job have finished.
|
void |
init(ParameterStructure parameters)
Initialize the handler.
|
default void |
interrupt() |
void init(ParameterStructure parameters) throws ConfigurationException
parameters - required configuration for initializing the handler.ConfigurationException - if the configuration information required
by the handler is malformed or missing.void execute(JobData jobData, JobReport jobReport) throws InternalErrorException
jobData - information about the current state of the job.jobReport - detailed information about the current job execution.InternalErrorExceptiondefault void interrupt()
default boolean errorsAffectJobStatus()
com.denodo.scheduler.client.job.JobData.Result.ERROR. When it
returns false, errors will cause the job status to be set to
com.denodo.scheduler.client.job.JobData.Result.WARNING.true if errors should affect the job status, false otherwise.Copyright © 2024 Denodo Technologies. All rights reserved.