Class TitusBatchJobResponse
java.lang.Object
com.netflix.genie.web.agent.launchers.dtos.TitusBatchJobResponse
Titus job response POJO.
- Since:
- 4.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the ID of the Titus job.Get the message if there was one.Get the status code if there was one.void
Set the id of the titus job.void
setMessage
(String message) Set the message if there was one.void
setStatusCode
(Integer statusCode) Set the status code.
-
Constructor Details
-
TitusBatchJobResponse
public TitusBatchJobResponse()
-
-
Method Details
-
getId
Get the ID of the Titus job.- Returns:
- The ID
-
setId
Set the id of the titus job.- Parameters:
id
- The new id
-
getStatusCode
Get the status code if there was one.- Returns:
- The status code wrapped in
Optional
elseOptional.empty()
-
setStatusCode
Set the status code.- Parameters:
statusCode
- The new status code
-
getMessage
Get the message if there was one.- Returns:
- The message wrapped in
Optional
elseOptional.empty()
-
setMessage
Set the message if there was one.- Parameters:
message
- The new message
-