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:
- Select SaleProcess where you want to change behavior while quitting.
- Implement
protected void onFinished()
method to invoke a special quit behavior.
Uses:
SaleProcess
1
// Main Class
public class RentProcess extends SaleProcess
{
2
// Method has to be overwritten (and filled with code)
protected void onFinished()
{
//...
}
}