de.mklinger.qetcher.client.model.v1.Builders 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 de.mklinger.qetcher.client.model.v1.builder.AvailabilityBuilder;
import de.mklinger.qetcher.client.model.v1.builder.AvailableConversionBuilder;
import de.mklinger.qetcher.client.model.v1.builder.ConversionBuilder;
import de.mklinger.qetcher.client.model.v1.builder.ConversionFileBuilder;
import de.mklinger.qetcher.client.model.v1.builder.ErrorBuilder;
import de.mklinger.qetcher.client.model.v1.builder.JobBuilder;
import de.mklinger.qetcher.client.model.v1.builder.NodeAddressBuilder;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public class Builders {
public static NodeAddressBuilder nodeAddress() {
return new NodeAddressBuilder();
}
public static ConversionBuilder conversion() {
return new ConversionBuilder();
}
public static ConversionBuilder conversion(final Conversion conversion) {
return ConversionBuilder.of(conversion);
}
public static AvailableConversionBuilder availableConversion() {
return new AvailableConversionBuilder();
}
public static AvailableConversionBuilder availableConversion(final AvailableConversion availableConversion) {
return AvailableConversionBuilder.of(availableConversion);
}
public static AvailabilityBuilder availability() {
return new AvailabilityBuilder();
}
public static ConversionFileBuilder conversionFile() {
return new ConversionFileBuilder();
}
public static ConversionFileBuilder conversionFile(final ConversionFile conversionFile) {
return ConversionFileBuilder.of(conversionFile);
}
public static JobBuilder job() {
return new JobBuilder();
}
public static JobBuilder job(final Job job) {
return JobBuilder.of(job);
}
public static ErrorBuilder error() {
return new ErrorBuilder();
}
public static ErrorBuilder error(final Error error) {
return ErrorBuilder.of(error);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy