SOURCECODE

How to... change Processesī quit behavior


Description:
If the Process has a certain task before finishing, one way to accomplish this is to change itīs quit behavior.
(See also: HowTo..incorporate a SaleProcess, HowTo..change Processesī start behavior )

ToDo's:
  1. Select SaleProcess where you want to change behavior while quitting.
  2. Implement protected void onFinished() method to invoke a special quit behavior.


Uses:
SaleProcess  



SourceCode

 1
// Main Class
   public class RentProcess extends SaleProcess
   {

    2
   // Method has to be overwritten (and filled with code)
      protected void onFinished()
      {
      //...
      }
   }