public interface ITerminationCommand
Modifier and Type | Method and Description |
---|---|
boolean |
checkTermination(Exception reason)
Check if termination is allowed.
|
void |
terminated(Exception reason)
Called after termination was performed.
|
boolean checkTermination(Exception reason)
reason
- The reason supplied for termination.void terminated(Exception reason)
reason
- The reason supplied for termination.Copyright © 2013. All Rights Reserved.