public interface AgentLauncher
extends org.springframework.boot.actuate.health.HealthIndicator
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<com.fasterxml.jackson.databind.JsonNode> |
launchAgent(ResolvedJob resolvedJob,
com.fasterxml.jackson.databind.JsonNode requestedLauncherExt)
Launch an agent to execute the given
ResolvedJob information. |
java.util.Optional<com.fasterxml.jackson.databind.JsonNode> launchAgent(ResolvedJob resolvedJob, @Nullable com.fasterxml.jackson.databind.JsonNode requestedLauncherExt) throws AgentLaunchException
ResolvedJob information.resolvedJob - The ResolvedJob information for the agent to act onrequestedLauncherExt - The launcher requested extension, or nullJsonNode with the launcher context about the launched jobAgentLaunchException - For any error launching an Agent instance to run the job