de.mklinger.qetcher.client.model.v1.impl.JobsImpl Maven / Gradle / Ivy
The newest version!
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.Job;
import de.mklinger.qetcher.client.model.v1.Jobs;
import de.mklinger.qetcher.client.model.v1.builder.JobsBuilder;
/**
* Created by Marius Heinzmann on 5/8/17.
*
* @author Marius Heinzmann - mheinzmann[at]mklinger[dot]de
*/
public class JobsImpl implements Jobs {
private final List jobs;
public JobsImpl(final JobsBuilder builder) {
this.jobs = Lists.newImmutableList(builder.getJobs());
}
@Override
public List getJobs() {
return jobs;
}
}