package at.hl.okb; import java.util.List; import java.util.Map; /** * Interface for ECJ Connector * @author HolperM * */ public interface IECJConnector { /** * checks if algorithm exists and returns AlgorithmParameterMap with AlgorithmParamName, AlgorithParamType * @param algorithmName * @param algorithmClassId * @param platformId * @param algorithParameterName * @return * @throws Exception */ // public Map initializeAlgorithm(String algorithmName, String algorithmClassId, // String platformId, Iterable algorithmParameterName) throws Exception; /** * Does some logical Check against HL * create missing Datatypes (if not found) * saves algorithmParams, problemParams into HL * * @param algorithm Name of the Algorithm * @param platform Name of the Platform * @param problem Name of the Problem * @param algoParams map (as JavaType) * @param problemParams map (as JavaType) * @param paramFile as Object (will be saved as BLOB) * @throws Exception */ public ECJConnectorState initialize(String algorithm, String platform, String problem) throws Exception; //, Map algoParams, Map problemParams, Object paramFile) throws Exception; /** * delivers Results to HL * @param resultList * @throws Exception */ public void result(ECJConnectorState state, List resultList, Map algoParams, Map problemParams, Object paramFile) throws Exception; }