Class JobListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.JobListResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Represents a response containing a list of jobs.
-
Constructor Summary
ConstructorsConstructorDescriptionJobListResponse(List<JobDTO> jobs) Creates a new JobListResponse with the specified list of jobs. -
Method Summary
-
Constructor Details
-
JobListResponse
Creates a new JobListResponse with the specified list of jobs.- Parameters:
jobs- The list of jobs to include in the response.
-
-
Method Details
-
validate
Description copied from class:BaseResponseValidates the response code.- Specified by:
validatein interfaceRESTMessage- Overrides:
validatein classBaseResponse- Throws:
IllegalArgumentException- if code value is negative.
-