Interface AgentJobRequest

  • All Superinterfaces:
    CommonRequest
    All Known Implementing Classes:
    JobRequest

    public interface AgentJobRequest
    extends CommonRequest
    The builder and methods available for a request generated by a Genie agent typically from the command arguments.
    Since:
    4.0.0
    • Method Detail

      • getCommandArgs

        java.util.List<java.lang.String> getCommandArgs()
        Get the command arguments a user has requested be appended to a command executable for their job.
        Returns:
        The command arguments as an immutable list. Any attempt to modify will throw exception
      • getMetadata

        JobMetadata getMetadata()
        Get the metadata a user has supplied for the job including things like name, tags, etc.
        Returns:
        The metadata
      • getCriteria

        ExecutionResourceCriteria getCriteria()
        The resource criteria that was supplied for the job.
        Returns:
        The criteria used to select the cluster, command and optionally applications for the job
      • getRequestedAgentConfig

        AgentConfigRequest getRequestedAgentConfig()
        Get the requested agent configuration.
        Returns:
        The requested agent configuration parameters