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

com.github.raduciumag.shapeshift.server.generator.OutputGenerator Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy