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
Modifier and TypeMethodDescriptiondefault voidmodifyJobRequest(TitusBatchJobRequest request, ResolvedJob resolvedJob) Given the currentTitusBatchJobRequestand theResolvedJobthat 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 Details
-
modifyJobRequest
default void modifyJobRequest(TitusBatchJobRequest request, ResolvedJob resolvedJob) throws AgentLaunchException Given the currentTitusBatchJobRequestand theResolvedJobthat 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- TheTitusBatchJobRequeststate after everything default has been set and created and is ready to be sent to the Titus jobs APIresolvedJob- The GenieResolvedJobthat the Titus request is responsible for executing- Throws:
AgentLaunchException- For any errors
-