Class JobResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.JobResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Represents a response containing a single job.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobResponse
Creates a new JobResponse with the specified job.- Parameters:
job- The job 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.
-