Package org.apache.oodt.cas.workflow.engine.processor

Examples of org.apache.oodt.cas.workflow.engine.processor.WorkflowProcessor


    this.dateGen = 0;
  }

  public void testSort() throws InstantiationException {
    FILOPrioritySorter sorter = new FILOPrioritySorter();
    WorkflowProcessor proc = getProcessor(2.0);
    WorkflowProcessor proc2 = getProcessor(7.0);
    WorkflowProcessor proc3 = getProcessor(9.0);
    List<WorkflowProcessor> candidates = new Vector<WorkflowProcessor>();
    candidates.add(proc3);
    candidates.add(proc2);
    candidates.add(proc);   
    sorter.sort(candidates);
View Full Code Here


  }
 
 
  public void testSort() throws InstantiationException {
    HighestPrioritySorter sorter = new HighestPrioritySorter();
    WorkflowProcessor proc = getProcessor(2.0);
    WorkflowProcessor proc2 = getProcessor(7.0);
    List<WorkflowProcessor> candidates = new Vector<WorkflowProcessor>();
    candidates.add(proc);
    candidates.add(proc2);
    System.out.println("BEFORE sort: ["+candidates+"]");
    sorter.sort(candidates);
View Full Code Here

    this.dateGen = 0;
  }
 
  public void testSort() throws InstantiationException {
    HighestFIFOPrioritySorter sorter = new HighestFIFOPrioritySorter(1, 15.0, 25.0);
    WorkflowProcessor proc = getProcessor(2.0);
    WorkflowProcessor proc2 = getProcessor(7.0);
    List<WorkflowProcessor> candidates = new Vector<WorkflowProcessor>();
    candidates.add(proc);
    candidates.add(proc2);
    sorter.sort(candidates);
    assertNotNull(candidates);
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.workflow.engine.processor.WorkflowProcessor

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.