Class ProcessHandler

    • Field Detail

      • SILENTLY_DESTROY_ON_CLOSE

        public static final Key<Boolean> SILENTLY_DESTROY_ON_CLOSE
    • Constructor Detail

      • ProcessHandler

        protected ProcessHandler()
    • Method Detail

      • startNotify

        public void startNotify()
      • destroyProcessImpl

        protected abstract void destroyProcessImpl()
      • detachProcessImpl

        protected abstract void detachProcessImpl()
      • detachIsDefault

        public abstract boolean detachIsDefault()
      • waitFor

        public void waitFor()
      • waitFor

        public boolean waitFor​(long timeoutInMilliseconds)
      • destroyProcess

        public void destroyProcess()
      • detachProcess

        public void detachProcess()
      • isProcessTerminated

        public boolean isProcessTerminated()
      • isProcessTerminating

        public boolean isProcessTerminating()
      • addProcessListener

        public void addProcessListener​(ProcessListener listener)
      • removeProcessListener

        public void removeProcessListener​(ProcessListener listener)
      • notifyProcessDetached

        protected void notifyProcessDetached()
      • notifyProcessTerminated

        protected void notifyProcessTerminated​(int exitCode)
      • notifyTextAvailable

        public void notifyTextAvailable​(String text,
                                        Key outputType)
      • getProcessInput

        @Nullable
        public abstract OutputStream getProcessInput()
      • isStartNotified

        public boolean isStartNotified()