de.mklinger.qetcher.client.InputJob 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;
import java.time.Duration;
import de.mklinger.qetcher.client.model.v1.ConversionFile;
import de.mklinger.qetcher.client.model.v1.MediaType;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public interface InputJob {
String getConversionFileId();
InputConversionFile getInputConversionFile();
MediaType getFromMediaType();
MediaType getToMediaType();
Duration getDeleteTimeout();
Duration getCancelTimeout();
String getReferrer();
public interface Builder {
Builder fromFile(String conversionFileId);
Builder fromFile(ConversionFile conversionFile);
Builder fromFile(InputConversionFile inputConversionFile);
Builder fromMediaType(MediaType mediaType);
Builder toMediaType(MediaType mediaType);
Builder deleteTimeout(Duration deleteTimeout);
Builder cancelTimeout(Duration cancelTimeout);
Builder referrer(String referrer);
InputJob build();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy