de.mklinger.qetcher.client.model.v1.impl.AvailableConversionsImpl 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.impl;
import java.util.List;
import de.mklinger.micro.lists.Lists;
import de.mklinger.qetcher.client.model.v1.AvailableConversion;
import de.mklinger.qetcher.client.model.v1.AvailableConversions;
import de.mklinger.qetcher.client.model.v1.builder.AvailableConversionsBuilder;
/**
* Available conversions on the cluster.
*
* This model class is not used internally, but only in v1 REST service and
* Qetcher client.
*
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public class AvailableConversionsImpl implements AvailableConversions {
private final List availableConversions;
public AvailableConversionsImpl(final AvailableConversionsBuilder builder) {
this.availableConversions = Lists.newImmutableList(builder.getAvailableConversions());
}
@Override
public List getAvailableConversions() {
return availableConversions;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy