public class JobExceptionsInfo extends Object
JobExceptionInfo holds the information for single failure which caused a (maybe partial)
job restart.| Modifier and Type | Class and Description |
|---|---|
static class |
JobExceptionsInfo.ExecutionExceptionInfo
Deprecated.
ExecutionExceptionInfo will be replaced by JobExceptionsInfoWithHistory.ExceptionInfo as part of the effort of deprecating allExceptions. |
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_ALL_EXCEPTIONS |
static String |
FIELD_NAME_ROOT_EXCEPTION |
static String |
FIELD_NAME_TIMESTAMP |
static String |
FIELD_NAME_TRUNCATED |
| Constructor and Description |
|---|
JobExceptionsInfo(String rootException,
Long rootTimestamp,
List<JobExceptionsInfo.ExecutionExceptionInfo> allExceptions,
boolean truncated) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<JobExceptionsInfo.ExecutionExceptionInfo> |
getAllExceptions() |
String |
getRootException() |
Long |
getRootTimestamp() |
int |
hashCode() |
boolean |
isTruncated() |
String |
toString() |
public static final String FIELD_NAME_ROOT_EXCEPTION
public static final String FIELD_NAME_TIMESTAMP
public static final String FIELD_NAME_ALL_EXCEPTIONS
public static final String FIELD_NAME_TRUNCATED
public JobExceptionsInfo(String rootException, Long rootTimestamp, List<JobExceptionsInfo.ExecutionExceptionInfo> allExceptions, boolean truncated)
public String getRootException()
public Long getRootTimestamp()
public List<JobExceptionsInfo.ExecutionExceptionInfo> getAllExceptions()
public boolean isTruncated()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.