de.mklinger.qetcher.client.model.v1.Job Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qetcher-client-bundle Show documentation
Show all versions of qetcher-client-bundle Show documentation
Qetcher Java client, OSGi bundle, minimal dependencies
package de.mklinger.qetcher.client.model.v1;
import java.time.Duration;
import java.time.Instant;
import java.util.List;
import java.util.Map;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public interface Job {
String getJobId();
String getParentJobId();
String getTenantId();
String getNodeId();
String getConverterId();
/**
* Get the job priority. Higher value is higher priority. Jobs with higher
* priorities will be processed before jobs with lower priority.
*/
int getPriority();
MediaType getFromMediaType();
/**
* Get input file ids for this job. The list of input file ids is never empty.
* Input file ids keep the order in which they where added.
*/
List getInputFileIds();
MediaType getToMediaType();
List getResultFileIds();
String getReferrer();
Duration getCancelTimeout();
Duration getDeleteTimeout();
JobState getState();
Error getError();
Map getProperties();
Instant getCreated();
Instant getUpdated();
Duration getEstimatedRunTime();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy