Package cu.repsystestbed.data

Examples of cu.repsystestbed.data.Workflow


    // create the algorithms
    EigenTrust repAlg = (EigenTrust) ReputationAlgorithm.getInstance("cu.repsystestbed.algorithms.examples.EigenTrust");
    RankbasedTrustAlg trustAlg = (RankbasedTrustAlg) TrustAlgorithm.getInstance("cu.repsystestbed.algorithms.examples.RankbasedTrustAlg");
   
    // create the work flow and add the items
    Workflow workflow = new Workflow();
    workflow.addItem(feedbackHistoryGraph);
    workflow.addItem(repAlg);
    workflow.addItem(repGraph);
    workflow.addItem(trustAlg);
    workflow.addItem(trustGraph);
   
    // notify the listener of the feedback history graph but in reality it should be the listeners of the first
    // graph in the workflow are notified.
    workflow.getFeedbackHistoryGraph().notifyObservers(false);
   
    this.workflow = workflow;
  }
View Full Code Here


 
  public WorkflowParser2(String args, Hashtable<String, Object> storage) throws Exception
  {
    Util.assertNotNull(args);
    Util.assertNotNull(storage);
    m_workflow = new Workflow();
    m_parsedStrings = new ArrayList<String>();
    parse(args, storage);
  }
View Full Code Here

        m_properties.load(new StringReader(workflowConfig));
      }
     
      logger.info(m_properties);
      logger.debug("Loaded " + workflowConfig + ".");
      m_workflow = new Workflow();
     
      Util.assertNotNull(m_properties.get(WORKFLOW));
     
      logger.debug("Parsing workflow...");
      parse();
View Full Code Here

TOP

Related Classes of cu.repsystestbed.data.Workflow

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.