Package de.espirit.firstspirit.agency
Interface ProcessAgent
public interface ProcessAgent
Agent offering means to start an external process. Obtain a process builder via
getBuilder()
, configure
the command
and spawn a process by invoking ProcessAgent.ProcessBuilder.start()
.
This agent is available in schedule script context via context.requestSpecialist
(ProcessAgent.TYPE
).
- Since:
- 5.0.5
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Each ProcessBuilder instance manages a collection of process attributes. -
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<ProcessAgent>
The agent's techincal type to be used to request the agent from aSpecialistsBroker
. -
Method Summary
Modifier and TypeMethodDescriptionGet a fresh process builder instance.
-
Field Details
-
TYPE
The agent's techincal type to be used to request the agent from aSpecialistsBroker
.- Since:
- 5.0.5
-
-
Method Details
-
getBuilder
ProcessAgent.ProcessBuilder getBuilder()Get a fresh process builder instance.- Returns:
- A new process builder instance.
- Since:
- 5.0.5
-