Class AgentConfigRequest

  • All Implemented Interfaces:
    java.io.Serializable

    public class AgentConfigRequest
    extends java.lang.Object
    implements java.io.Serializable
    Configuration options for the Genie agent.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.fasterxml.jackson.databind.JsonNode> getExt()
      Get the extension variables to the agent configuration as a JSON blob.
      java.util.Optional<java.io.File> getRequestedJobDirectoryLocation()
      Get the location where the Agent should place the job directory when it runs.
      java.util.Optional<java.lang.Integer> getTimeoutRequested()
      Get the amount of time (in seconds) after the job starts that the agent should timeout and kill the job.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTimeoutRequested

        public java.util.Optional<java.lang.Integer> getTimeoutRequested()
        Get the amount of time (in seconds) after the job starts that the agent should timeout and kill the job.
        Returns:
        The time in seconds if one was requested wrapped in an Optional
      • getRequestedJobDirectoryLocation

        public java.util.Optional<java.io.File> getRequestedJobDirectoryLocation()
        Get the location where the Agent should place the job directory when it runs.
        Returns:
        The directory location wrapped in an Optional
      • getExt

        public java.util.Optional<com.fasterxml.jackson.databind.JsonNode> getExt()
        Get the extension variables to the agent configuration as a JSON blob.
        Returns:
        The extension variables wrapped in an Optional