Class MultiHook

    • Constructor Detail

      • MultiHook

        public MultiHook()
    • Method Detail

      • setHooks

        public void setHooks​(AbstractShutdownHook[] value)
        Sets the hooks to execute sequentially.
        Parameters:
        value - the hooks
      • getHooks

        public AbstractShutdownHook[] getHooks()
        Returns the hooks to execute sequentially.
        Returns:
        the hooks
      • hooksTipText

        public String hooksTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • check

        public String check()
        Hook method before generating the runnable and installing it.
        Overrides:
        check in class AbstractShutdownHook
        Returns:
        null if successful, otherwise error message