Klasse OrderReleaseThread

java.lang.Object
java.lang.Thread
de.dlr.proseo.planner.util.OrderReleaseThread
Alle implementierten Schnittstellen:
Runnable

public class OrderReleaseThread extends Thread
Manages the release of a processing order.
Autor:
Ernst Melchinger
  • Konstruktordetails

    • OrderReleaseThread

      public OrderReleaseThread(ProductionPlanner productionPlanner, javax.persistence.EntityManager em, JobUtil jobUtil, ProcessingOrder order, String name)
      Creates a new OrderReleaseThread.
      Parameter:
      productionPlanner - The production planner instance
      em - Entity manager for native queries
      jobUtil - The job utility instance
      order - The processing order to plan
      name - The thread name
  • Methodendetails

    • getResultMessage

      public PlannerResultMessage getResultMessage()
      Get the result message.
      Gibt zurück:
      the resultMessage
    • run

      public void run()
      Starts and initializes the release thread.
      Angegeben von:
      run in Schnittstelle Runnable
      Setzt außer Kraft:
      run in Klasse Thread
    • release

      public PlannerResultMessage release(long orderId) throws InterruptedException
      Releases the processing order.
      Parameter:
      orderId - The id of the order
      Gibt zurück:
      The result message
      Löst aus:
      InterruptedException