Package smilehouse.opensyncro.system

Examples of smilehouse.opensyncro.system.PipeExecutionRequest


            labels.getLabel("createtime"),
            labels.getLabel("starttime") }));

    int colorIndex = 0;
    for (Iterator i = entries.iterator(); i.hasNext(); colorIndex = 1 - colorIndex) {
      PipeExecutionRequest entry = (PipeExecutionRequest) i.next();

      TR row = tt.getRow();

      Date creationTime = entry.getCreatedDate();
      String formattedCreationTime;
      if (creationTime != null) {
        formattedCreationTime = dFormat.format(creationTime);
      } else {
        formattedCreationTime = "";
      }
      Date startTime = entry.getStartedDate();
      String formattedStartTime;
      if (startTime != null) {
        formattedStartTime = dFormat.format(startTime);
      } else {
        formattedStartTime = "Queued";
      }
      queueTable.addElement(row.addElement(
          new TD().addElement(new A("EditPipe?pipeid="
              + entry.getPipe().getId(), entry.getPipe()
              .getName()))).addElement(
          new TD().addElement(formattedCreationTime)).addElement(
          new TD().addElement(formattedStartTime)));

    }
View Full Code Here


        newThread = true;
      }

      // Add the new request to the threads execution queue
      pet.getPipeExecutionQueue().addToQueue(
          new PipeExecutionRequest(pipe.getPipe(), new Date()));
      if (newThread)
        pet.start();
      if (isSynced) {
        // If synced mode was specified, wait for the thread to finish
        pet.join();
View Full Code Here

TOP

Related Classes of smilehouse.opensyncro.system.PipeExecutionRequest

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.