All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mapfish.print.servlet.job.JobManager Maven / Gradle / Ivy

There is a newer version: 3.22.0
Show newest version
package org.mapfish.print.servlet.job;

/**
 * Manages and Executes Print Jobs.
 */
public interface JobManager {

    /**
     * Submit a new job for execution.
     *
     * @param entry the job to run.
     */
    void submit(PrintJobEntry entry);

    /**
     * Cancel a job.
     *
     * @param referenceId The referenceId of the job to cancel.
     * @throws NoSuchReferenceException
     */
    void cancel(String referenceId) throws NoSuchReferenceException;

    /**
     * Get the status for a job.
     *
     * @param referenceId The referenceId of the job to check.
     * @throws NoSuchReferenceException
     */
    PrintJobStatus getStatus(String referenceId) throws NoSuchReferenceException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy