public static class BaseSession.LibraryUnloadOption
Describes when an automation program should be unloaded from a running session.
To use the enum, implement a public static function called getUnloadOption which returns one
of these options as an integer.
The getUnloadOption must be in the same class that contains your main method, and
the function should have no parameters.
NX will call this method once the automation program has exited to determine when to
unload the library.
When a java automation program is unloaded the licenses acquired by the program are
released and garbage collection is performed.