org.mapfish.print.servlet.job.JobManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of print-lib Show documentation
Show all versions of print-lib Show documentation
Library for generating PDFs and images from online webmapping services
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