Package eu.planets_project.tb.impl.services

Examples of eu.planets_project.tb.impl.services.EvaluationTestbedServiceTemplateImpl


      ServiceTemplateRegistry registry = ServiceTemplateRegistryImpl.getInstance();
      Collection<TestbedServiceTemplate> evalSerTemplates = registry.getAllServicesWithType(TestbedServiceTemplate.ServiceOperation.SERVICE_OPERATION_TYPE_EVALUATION);
      if((evalSerTemplates!=null)&&(evalSerTemplates.size()>0)){
        Iterator<TestbedServiceTemplate> itTemplates = evalSerTemplates.iterator();
        //The template which registeres the BMGoal mapping
        EvaluationTestbedServiceTemplateImpl evalSerTemplate = (EvaluationTestbedServiceTemplateImpl) itTemplates.next();
       
        //all supported BM goalsIDs of this ServiceTemplate
        Collection<String> lBMGoalIDs = evalSerTemplate.getAllMappedBenchmarkGoalIDs();
        if((lBMGoalIDs!=null)&&(lBMGoalIDs.size()>0)){
          Iterator<String> itBMGoalIDs = lBMGoalIDs.iterator();
          while(itBMGoalIDs.hasNext()){
            String bmGoalID = itBMGoalIDs.next();
            //add the bmGoal and it's template
View Full Code Here


    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
    evalSer = new EvaluationTestbedServiceTemplateImpl();
    evalSer.setXPathForBMGoalRootNodes("/*//property");
    evalSer.setXPathForName("@name");
    evalSer.setXPathToCompStatus("@compStatus");
    evalSer.setXPathForSrcValue("./values/src");
    evalSer.setXPathForTarValue("./values/tar");
 
View Full Code Here

TOP

Related Classes of eu.planets_project.tb.impl.services.EvaluationTestbedServiceTemplateImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.