Package org.apache.gravitino.dto.job
Class JobDTO
java.lang.Object
org.apache.gravitino.dto.job.JobDTO
Represents a Job Data Transfer Object (DTO).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeserializer for Statusstatic classSerializer for Status. -
Constructor Summary
ConstructorsConstructorDescriptionJobDTO(String jobId, String jobTemplateName, JobHandle.Status status, AuditDTO audit) Creates a new JobPO with the specified properties. -
Method Summary
-
Constructor Details
-
JobDTO
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.
-