TriggerAction.java

22 lines | 315 B Blame History Raw Download
package azkaban.trigger;

import java.util.Map;

public interface TriggerAction {
	
	String getId();
	
	String getType();
	
	TriggerAction fromJson(Object obj) throws Exception;
	
	Object toJson();
	
	void doAction() throws Exception;
	
	void setContext(Map<String, Object> context);

	String getDescription();
	
}