Class AbstractProcess

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static com.chrisnewland.freelogj.Logger logger  
      private java.nio.file.Path stdErr  
      private java.nio.file.Path stdOut  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractProcess()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorStream()  
      java.lang.String getExecutableSuffix()  
      java.lang.String getLaunchScriptSuffix()  
      java.lang.String getOutputStream()  
      boolean isWindows()  
      protected java.lang.String makeClassPath​(java.util.List<java.lang.String> classpathEntries)  
      protected boolean runCommands​(java.util.List<java.lang.String> commands, java.nio.file.Path workingDirectory, java.util.Map<java.lang.String,​java.lang.String> environment, ILogListener logListener)  
      protected boolean runCommands​(java.util.List<java.lang.String> commands, java.util.Map<java.lang.String,​java.lang.String> environment, ILogListener logListener)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected static final com.chrisnewland.freelogj.Logger logger
      • stdErr

        private java.nio.file.Path stdErr
      • stdOut

        private java.nio.file.Path stdOut
    • Constructor Detail

      • AbstractProcess

        public AbstractProcess()
    • Method Detail

      • getExecutableSuffix

        public java.lang.String getExecutableSuffix()
      • getLaunchScriptSuffix

        public java.lang.String getLaunchScriptSuffix()
      • isWindows

        public boolean isWindows()
      • makeClassPath

        protected java.lang.String makeClassPath​(java.util.List<java.lang.String> classpathEntries)
      • runCommands

        protected boolean runCommands​(java.util.List<java.lang.String> commands,
                                      java.util.Map<java.lang.String,​java.lang.String> environment,
                                      ILogListener logListener)
      • runCommands

        protected boolean runCommands​(java.util.List<java.lang.String> commands,
                                      java.nio.file.Path workingDirectory,
                                      java.util.Map<java.lang.String,​java.lang.String> environment,
                                      ILogListener logListener)