Class ShellSessionManager.Builder
java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.ShellSessionManager.Builder
- Enclosing class:
- ShellSessionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddShutdownCommand(String command) addStartupCommand(String command) build()commandTimeout(long millis) environment(Map<String, String> env) maxOutputBytes(long bytes) maxOutputLines(int lines) setShutdownCommand(List<String> commands) setStartupCommand(List<String> commands) shellCommand(List<String> command) startupTimeout(long millis) terminationTimeout(long millis) workspaceRoot(String path) workspaceRoot(Path path)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workspaceRoot
-
workspaceRoot
-
addStartupCommand
-
addShutdownCommand
-
setStartupCommand
-
setShutdownCommand
-
commandTimeout
-
startupTimeout
-
terminationTimeout
-
maxOutputLines
-
maxOutputBytes
-
shellCommand
-
environment
-
addRedactionRule
-
build
-