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

io.github.icodegarden.beecomb.executor.registry.JobHandlerRegistry Maven / Gradle / Ivy

The newest version!
package io.github.icodegarden.beecomb.executor.registry;

import java.util.Collection;

/**
 * 
 * @author Fangfang.Xu
 *
 */
public interface JobHandlerRegistry {
	/**
	 * 以追加的方式进行注册
	 * @param jobHandlers
	 */
	void registerAppend(Collection jobHandlers);
	/**
	 * 总是以覆盖的方式进行注册
	 * @param jobHandlers
	 */
	void registerReplace(Collection jobHandlers);
	/**
	 * 
	 * @param jobHandlerName
	 * @return Nullable
	 */
	JobHandler getJobHandler(String jobHandlerName);
	/**
	 * 获取所有已注册的
	 * @return
	 */
	Collection listJobHandlers();
	/**
	 * 注销指定的jobHandlers
	 * @param jobHandlers
	 */
	void deregister(Collection jobHandlers);
	/**
	 * 注销所有
	 */
	void deregisterAll();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy