Class PluginExecutionRequest

  • All Implemented Interfaces:
    Runnable

    public final class PluginExecutionRequest
    extends PluginRequest<Plugin>
    implements Runnable
    Executes a job. You will get an instance of this class when:
    1. You want to execute a job: Job.execute(ProgressReporter, String)
    You should use the following protocol:
    1. Close your currently opened DbControl if you doesn't need it and you expect that the job takes a long time to execute. The job will open it's own connection(s) to the database.
    2. Call invoke() to start executing of the job.
    3. Check the PluginResponse and display a user-friendly message.
    Note! You do not have to call the PluginRequest.done() method, it is called automatically by the core once the job has finished executing.
    Version:
    2.0
    Author:
    Nicklas
    Last modified
    $Date: 2017-04-07 09:21:57 +0200 (fr, 07 apr 2017) $