Interface TitusAgentLauncherImpl.TitusJobRequestAdapter
-
- Enclosing class:
- TitusAgentLauncherImpl
public static interface TitusAgentLauncherImpl.TitusJobRequestAdapter
An interface that should be implemented by any class which wants to modify the Titus job request before it is sent.NOTE: This is a very initial implementation/idea and highly subject to change as we work through additional security concerns
- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
modifyJobRequest(TitusBatchJobRequest request, ResolvedJob resolvedJob)
Given the currentTitusBatchJobRequest
and theResolvedJob
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.
-
-
-
Method Detail
-
modifyJobRequest
default void modifyJobRequest(TitusBatchJobRequest request, ResolvedJob resolvedJob) throws AgentLaunchException
Given the currentTitusBatchJobRequest
and theResolvedJob
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.- Parameters:
request
- TheTitusBatchJobRequest
state after everything default has been set and created and is ready to be sent to the Titus jobs APIresolvedJob
- The GenieResolvedJob
that the Titus request is responsible for executing- Throws:
AgentLaunchException
- For any errors
-
-