
com.lumiomedical.flow.compiler.FlowCompiler Maven / Gradle / Ivy
package com.lumiomedical.flow.compiler;
import com.lumiomedical.flow.node.Node;
import java.util.Arrays;
import java.util.Collection;
/**
* @author Pierre Lecerf ([email protected])
* Created on 2020/03/02
*/
public interface FlowCompiler
{
/**
*
* @param inputNodes
* @return
* @throws CompilationException
*/
R compile(Collection inputNodes) throws CompilationException;
/**
*
* @param inputNodes
* @return
* @throws CompilationException
*/
default R compile(Node... inputNodes) throws CompilationException
{
return this.compile(Arrays.asList(inputNodes));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy