Package com.io7m.waxmill.process.api
Interface WXMProcessDescriptionType
- All Known Implementing Classes:
WXMProcessDescription
@Immutable
public interface WXMProcessDescriptionType
A description of a process to be created.
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>arguments()default voidcheckPreconditions()Check preconditions for the type.java.util.Map<java.lang.String,java.lang.String>environment()java.nio.file.Pathexecutable()
-
Method Details
-
executable
java.nio.file.Path executable()- Returns:
- The full path to the executable
-
arguments
java.util.List<java.lang.String> arguments()- Returns:
- The list of arguments passed to the executable
-
environment
java.util.Map<java.lang.String,java.lang.String> environment()- Returns:
- The environment that the new process will use
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-