Class TitusBatchJobResponse
java.lang.Object
com.netflix.genie.web.agent.launchers.dtos.TitusBatchJobResponse
Titus job response POJO.
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
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.voidSet the id of the titus job.voidsetMessage(String message) Set the message if there was one.voidsetStatusCode(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
OptionalelseOptional.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
OptionalelseOptional.empty()
-
setMessage
Set the message if there was one.- Parameters:
message- The new message
-