com.github.raduciumag.shapeshift.server.generator.OutputGenerator Maven / Gradle / Ivy
package com.github.raduciumag.shapeshift.server.generator;
import com.github.raduciumag.shapeshift.server.bean.ServerResponse;
import java.util.Map;
/**
* @since February 2016
*/
public interface OutputGenerator {
/**
* The generator name.
*
* @return The name.
*/
String getName();
/**
* Generate data to add to the response.
*
* @param response The response to update.
* @param args The generator arguments.
*/
void generate(ServerResponse response, Map args);
}