Class ProcessExecutor.Result

    • Field Detail

      • command

        public final com.google.common.collect.ImmutableList<String> command
    • Constructor Detail

      • Result

        public Result​(int exitCode,
                      boolean timedOut,
                      Optional<String> stdout,
                      Optional<String> stderr,
                      com.google.common.collect.ImmutableList<String> command)
      • Result

        public Result​(int exitCode,
                      String stdout,
                      String stderr,
                      com.google.common.collect.ImmutableList<String> command)
      • Result

        public Result​(int exitCode,
                      com.google.common.collect.ImmutableList<String> command)
    • Method Detail

      • getExitCode

        public int getExitCode()
      • isTimedOut

        public boolean isTimedOut()
      • getCommand

        public com.google.common.collect.ImmutableList<String> getCommand()
      • getMessageForUnexpectedResult

        public String getMessageForUnexpectedResult​(String subject)
      • getMessageForResult

        public String getMessageForResult​(String message)