public interface ITerminationCommand
| Modifier and Type | Method and Description | 
|---|---|
| boolean | checkTermination(java.lang.Exception reason)Check if termination is allowed. | 
| void | terminated(java.lang.Exception reason)Called after termination was performed. | 
boolean checkTermination(java.lang.Exception reason)
reason - The reason supplied for termination.void terminated(java.lang.Exception reason)
reason - The reason supplied for termination.