Class ShellSessionManager.CommandResult

java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.ShellSessionManager.CommandResult
Enclosing class:
ShellSessionManager

public static class ShellSessionManager.CommandResult extends Object
Result of command execution.
  • Constructor Details

    • CommandResult

      public CommandResult(String output, Integer exitCode, boolean timedOut, boolean truncatedByLines, boolean truncatedByBytes, int totalLines, long totalBytes)
    • CommandResult

      public CommandResult(String output, Integer exitCode, boolean timedOut, boolean truncatedByLines, boolean truncatedByBytes, int totalLines, long totalBytes, Map<String,List<String>> redactionMatches)
  • Method Details

    • getOutput

      public String getOutput()
    • getExitCode

      public Integer getExitCode()
    • isTimedOut

      public boolean isTimedOut()
    • isTruncatedByLines

      public boolean isTruncatedByLines()
    • isTruncatedByBytes

      public boolean isTruncatedByBytes()
    • getTotalLines

      public int getTotalLines()
    • getTotalBytes

      public long getTotalBytes()
    • getRedactionMatches

      public Map<String,List<String>> getRedactionMatches()
    • isSuccess

      public boolean isSuccess()