view gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransition.java @ 99:bb45c5097cb6

ehcache Integration for storing the chartresultvalues gnv-artifacts/trunk@146 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 28 Sep 2009 14:17:15 +0000
parents bd284d8306db
children ef157bd2fa92
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;

import java.io.OutputStream;
import java.util.Collection;

import de.intevation.gnv.transition.exception.TransitionException;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public interface OutputTransition extends Transition {

    /**
     * Returns the Rendered Result of an Transition.
     * @param outputMode The Mode that should be produces (Chart, Map, ...)
     * @return The Bytecode of the Result
     * @throws TransitionException
     */
    public void out( String outputMode, Collection<InputData> inputData, OutputStream outputStream, String uuid) throws TransitionException;
    
    /**
     * Delivers the provided OutputModes of an Transition
     * @return the provided OutputModes of an Transition
     */
    public Collection<OutputMode> getOutputModes();
}

http://dive4elements.wald.intevation.org