public abstract class TerminationCommand extends java.lang.Object implements ITerminationCommand
| Constructor and Description | 
|---|
| TerminationCommand() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | checkTermination(java.lang.Exception reason)Check if termination is allowed. | 
| abstract void | terminated(java.lang.Exception reason)Called after termination was performed. | 
public boolean checkTermination(java.lang.Exception reason)
checkTermination in interface ITerminationCommandreason - The reason supplied for termination.public abstract void terminated(java.lang.Exception reason)
terminated in interface ITerminationCommandreason - The reason supplied for termination.