de.mklinger.qetcher.client.model.v1.builder.ConversionFilesBuilder 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.builder;
import java.util.List;
import de.mklinger.qetcher.client.model.v1.ConversionFile;
import de.mklinger.qetcher.client.model.v1.ConversionFiles;
import de.mklinger.qetcher.client.model.v1.impl.ConversionFilesImpl;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public class ConversionFilesBuilder {
private List conversionFiles;
public static ConversionFilesBuilder of(final ConversionFiles conversionFiles) {
return new ConversionFilesBuilder()
.conversionFiles(conversionFiles.getConversionFiles());
}
public List getConversionFiles() {
return conversionFiles;
}
public ConversionFilesBuilder conversionFiles(final List conversionFiles) {
this.conversionFiles = conversionFiles;
return this;
}
public ConversionFiles build() {
return new ConversionFilesImpl(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy