Class DestroyerListenerAdapter

    • Constructor Detail

      • DestroyerListenerAdapter

        public DestroyerListenerAdapter​(ProcessDestroyer destroyer)
    • Method Detail

      • afterStart

        public void afterStart​(java.lang.Process process,
                               ProcessExecutor executor)
        Description copied from class: ProcessListener
        Invoked after a process has started.
        Overrides:
        afterStart in class ProcessListener
        Parameters:
        process - the process started.
        executor - executor used for starting the process. Modifying the ProcessExecutor only affects the following processes not the one just started.
      • afterStop

        public void afterStop​(java.lang.Process process)
        Description copied from class: ProcessListener
        Invoked after a process has exited (whether finished or cancelled).
        Overrides:
        afterStop in class ProcessListener
        Parameters:
        process - process just stopped.