Class ProcessInfo


  • public class ProcessInfo
    extends java.lang.Object
    Process
    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessInfo​(java.lang.String title)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getArgv()
      Command line arguments used to start this process
      long getPid()
      Process ID of the service (Required)
      java.lang.Long getPpid()
      Parent process ID of the service
      java.lang.String getTitle()  
      ProcessInfo withArgv​(java.util.List<java.lang.String> argv)
      Command line arguments used to start this process
      ProcessInfo withPid​(long pid)
      Process ID of the service
      ProcessInfo withPpid​(java.lang.Long ppid)
      Parent process ID of the service
      • Methods inherited from class java.lang.Object

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

      • ProcessInfo

        public ProcessInfo​(java.lang.String title)
    • Method Detail

      • getPid

        public long getPid()
        Process ID of the service (Required)
      • withPid

        public ProcessInfo withPid​(long pid)
        Process ID of the service
      • getPpid

        @Nullable
        public java.lang.Long getPpid()
        Parent process ID of the service
      • withPpid

        public ProcessInfo withPpid​(@Nullable
                                    java.lang.Long ppid)
        Parent process ID of the service
      • getTitle

        public java.lang.String getTitle()
      • getArgv

        public java.util.List<java.lang.String> getArgv()
        Command line arguments used to start this process
      • withArgv

        public ProcessInfo withArgv​(@Nullable
                                    java.util.List<java.lang.String> argv)
        Command line arguments used to start this process