Class ShellSessionManager.CommandResult
java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.ShellSessionManager.CommandResult
- Enclosing class:
- ShellSessionManager
Result of command execution.
-
Constructor Summary
ConstructorsConstructorDescriptionCommandResult(String output, Integer exitCode, boolean timedOut, boolean truncatedByLines, boolean truncatedByBytes, int totalLines, long totalBytes) CommandResult(String output, Integer exitCode, boolean timedOut, boolean truncatedByLines, boolean truncatedByBytes, int totalLines, long totalBytes, Map<String, List<String>> redactionMatches) -
Method Summary
Modifier and TypeMethodDescriptionlongintbooleanbooleanbooleanboolean
-
Constructor Details
-
CommandResult
-
CommandResult
-
-
Method Details
-
getOutput
-
getExitCode
-
isTimedOut
public boolean isTimedOut() -
isTruncatedByLines
public boolean isTruncatedByLines() -
isTruncatedByBytes
public boolean isTruncatedByBytes() -
getTotalLines
public int getTotalLines() -
getTotalBytes
public long getTotalBytes() -
getRedactionMatches
-
isSuccess
public boolean isSuccess()
-