Class ProcessAttributes
java.lang.Object
org.zeroturnaround.exec.ProcessAttributes
Immutable set of attributes used to start a process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet of accepted exit codes ornullif all exit codes are allowed.The external program and its arguments.private final FileWorking directory,nullin case of current working directory.Environment variables which are added (removed in case ofnullvalues) to the started process. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
command
-
directory
Working directory,nullin case of current working directory. -
environment
-
allowedExitValues
-
-
Constructor Details
-
ProcessAttributes
-
-
Method Details
-
getCommand
-
getDirectory
-
getEnvironment
-
getAllowedExitValues
-