Class JobDTO

java.lang.Object
org.apache.gravitino.dto.job.JobDTO

public class JobDTO extends Object
Represents a Job Data Transfer Object (DTO).
  • Constructor Details

    • JobDTO

      public JobDTO(String jobId, String jobTemplateName, JobHandle.Status status, AuditDTO audit)
      Creates a new JobPO with the specified properties.
      Parameters:
      jobId - The unique identifier for the job.
      jobTemplateName - The name of the job template used for this job.
      status - The current status of the job.
      audit - The audit information associated with the job.
  • Method Details

    • validate

      public void validate()
      Validates the JobDTO.
      Throws:
      IllegalArgumentException - if any of the required fields are invalid.