Interface ILicenseCallback

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ILicenseCallback
    Interface the license system calls back for events.
    Author:
    Christopher Mindus
    • Method Detail

      • onLicenseShutdown

        void onLicenseShutdown​(java.lang.String reason)
        Called when the license is invalid and requires to shutdown. The action to take for shutdown varies, and for e.g. a server, it means shutting it down, for Eclipse it means stopping the plugin.
        Parameters:
        reason - The reason for the shut-down.