Changeset 5250 for branches/OKBJavaConnector/HLOKBWebClient/src
- Timestamp:
- 01/08/11 13:55:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/impl/ECJ19ConnectorImpl.java
r5247 r5250 7 7 import java.util.Map; 8 8 9 import com.sun.codemodel.writer.PrologCodeWriter; 10 11 import at.hl.okb.ECJConnectorState; 9 12 import at.hl.okb.IECJConnector; 10 13 import at.hl.okb.wsclient.OKBClientTest; … … 27 30 this.okbClient = new OKBServiceClient(); 28 31 } 32 29 33 30 /*31 * (non-Javadoc)32 *33 * @see at.hl.okb.IECJConnector#initialize(java.lang.String,34 * java.lang.String, java.util.Map, java.util.Map, java.lang.Object)35 */36 34 @Override 37 public void initialize(String algorithmName, String platformName, String problemName) throws Exception { 38 // TODO Auto-generated method stub 35 public ECJConnectorState initialize(String algorithmName, String platformName, String problemName) throws Exception { 39 36 40 37 Long platformId = okbClient.getPlatformId(algorithmName); … … 49 46 if (problemId == null) 50 47 throw new Exception("Proble " + problemName + " not found!"); 51 52 //okbClient.checkAlgoParamsExists(algorithmId, algoParams); 53 // check problemParams(problemParams) 54 55 // add AlgorithmParams(Algorithmid, Platformid, algoParams,paramfile) 56 // addProblemParams(problemId, Platformid, problemParams) 57 58 // port.addAlgorithmParameter(dto) 48 49 return new ECJConnectorState(platformId,algorithmId,problemId); 59 50 } 60 51 61 /*62 * (non-Javadoc)63 *64 * @see at.hl.okb.IECJConnector#result(java.util.List)65 */66 52 @Override 67 public void result( List<Object> resultList, Map<String, Object> algoParams, Map<String, Object> problemParams,53 public void result(ECJConnectorState state, List<Object> resultList, Map<String, Object> algoParams, Map<String, Object> problemParams, 68 54 Object paramFile) throws Exception { 69 55 // TODO Auto-generated method stub 70 56 71 //create Experiment if algoparams empty and problemparams empty (in HL) 57 58 //create Experiment if algoparams not exists in HL and problemparams not exits (in HL) 72 59 //create missing Params in Algo and Problem (if not exits for experiment) 73 60 //create Datatype if missing
Note: See TracChangeset
for help on using the changeset viewer.