public static interface TitusAgentLauncherImpl.TitusJobRequestAdapter
NOTE: This is a very initial implementation/idea and highly subject to change as we work through additional security concerns
Modifier and Type | Method and Description |
---|---|
default void |
modifyJobRequest(TitusBatchJobRequest request,
ResolvedJob resolvedJob)
Given the current
TitusBatchJobRequest and the ResolvedJob that the agent container
is expected to execute this method should manipulate (if necessary) the request as needed for the
given Titus installation Genie is calling. |
default void modifyJobRequest(TitusBatchJobRequest request, ResolvedJob resolvedJob) throws AgentLaunchException
TitusBatchJobRequest
and the ResolvedJob
that the agent container
is expected to execute this method should manipulate (if necessary) the request as needed for the
given Titus installation Genie is calling.request
- The TitusBatchJobRequest
state after everything default has been set and created
and is ready to be sent to the Titus jobs APIresolvedJob
- The Genie ResolvedJob
that the Titus request is responsible for executingAgentLaunchException
- For any errors