blob: 2c58266fc5bc96a4ecdb34495ad55646d1f9dc91 [file] [log] [blame]
package org.eclipse.osee.ote.rest.internal;
import java.net.MalformedURLException;
import java.util.Collection;
import java.util.concurrent.ExecutionException;
import javax.ws.rs.core.UriBuilderException;
import javax.ws.rs.core.UriInfo;
import org.eclipse.osee.ote.rest.model.OTEConfiguration;
import org.eclipse.osee.ote.rest.model.OTEJobStatus;
public interface OteConfigurationStore {
OTEJobStatus setup(OTEConfiguration config, UriInfo uriInfo) throws InterruptedException, ExecutionException, MalformedURLException, IllegalArgumentException, UriBuilderException;
OTEJobStatus reset(UriInfo uriInfo) throws InterruptedException, ExecutionException, MalformedURLException, IllegalArgumentException, UriBuilderException;
OTEConfiguration getConfiguration(UriInfo uriInfo) throws MalformedURLException, IllegalArgumentException, UriBuilderException, InterruptedException, ExecutionException;
OTEJobStatus getJob(String uuid) throws InterruptedException, ExecutionException;
Collection<String> getAllJobIds();
}