org.stanwood.media.cli
Interface IExitHandler

All Known Implementing Classes:
DefaultExitHandler

public interface IExitHandler

This is used to handle the program exiting. It is mainly used by tests so that they can override the default beheaviour of calling System.exit.


Method Summary
 void exit(int exitCode)
          This is called when the app wants to exit
 

Method Detail

exit

void exit(int exitCode)
This is called when the app wants to exit

Parameters:
exitCode - The exit code it's exiting with.