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 ornull
if all exit codes are allowed.The external program and its arguments.private final File
Working directory,null
in case of current working directory.Environment variables which are added (removed in case ofnull
values) to the started process. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
command
The external program and its arguments. -
directory
Working directory,null
in case of current working directory. -
environment
Environment variables which are added (removed in case ofnull
values) to the started process. -
allowedExitValues
Set of accepted exit codes ornull
if all exit codes are allowed.
-
-
Constructor Details
-
ProcessAttributes
-
-
Method Details
-
getCommand
-
getDirectory
-
getEnvironment
-
getAllowedExitValues
-