public static class TaskRunExceptionReport.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TaskRunExceptionReport |
build()
Builds the result object.
|
TaskRunExceptionReport.Builder |
setCode(String code)
Sets identification code.
|
TaskRunExceptionReport.Builder |
setEndTimestamp(Date endTimestamp)
Sets end timestamp.
|
TaskRunExceptionReport.Builder |
setExceptionDetails(Map<String,String> exceptionDetails)
Sets exception details.
|
TaskRunExceptionReport.Builder |
setParameters(Map<String,String> parameters)
Sets parameters.
|
TaskRunExceptionReport.Builder |
setStartTimestamp(Date startTimestamp)
Sets start timestamp.
|
TaskRunExceptionReport.Builder |
setTaskClass(String taskClass)
Sets task class.
|
public TaskRunExceptionReport.Builder setCode(String code)
code - identification codepublic TaskRunExceptionReport.Builder setTaskClass(String taskClass)
taskClass - task classpublic TaskRunExceptionReport.Builder setParameters(Map<String,String> parameters)
parameters - parameterspublic TaskRunExceptionReport.Builder setExceptionDetails(Map<String,String> exceptionDetails)
exceptionDetails - exception detailspublic TaskRunExceptionReport.Builder setStartTimestamp(Date startTimestamp)
startTimestamp - start timestamppublic TaskRunExceptionReport.Builder setEndTimestamp(Date endTimestamp)
endTimestamp - end timestamppublic TaskRunExceptionReport build()
Copyright © 2016. All rights reserved.