All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.continual.flowcontrol.FlowControlApi Maven / Gradle / Ivy

package io.continual.flowcontrol;

import java.util.Collection;

import io.continual.flowcontrol.jobapi.FlowControlJob;

public interface FlowControlApi
{
	class FlowControlApiException extends Exception
	{
		public FlowControlApiException ( String msg ) { super(msg); }
		public FlowControlApiException ( Throwable t ) { super(t); }
		public FlowControlApiException ( String msg, Throwable t ) { super(msg,t); }
		private static final long serialVersionUID = 1L;
	}

	FlowControlApi registerJob ( FlowControlJob job ) throws FlowControlApiException;

	Collection getAllJobs () throws FlowControlApiException;

	FlowControlJob getJob ( String name ) throws FlowControlApiException;

	FlowControlApi updateJob ( FlowControlJob job ) throws FlowControlApiException;

	FlowControlApi removeJob ( FlowControlJob job ) throws FlowControlApiException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy