Package org.zeroturnaround.exec
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
The external program and its arguments. -
directory
Working directory,nullin case of current working directory. -
environment
Environment variables which are added (removed in case ofnullvalues) to the started process. -
allowedExitValues
Set of accepted exit codes ornullif all exit codes are allowed.
-
-
Constructor Details
-
ProcessAttributes
-
-
Method Details
-
getCommand
-
getDirectory
-
getEnvironment
-
getAllowedExitValues
-