public enum ErrorTypes extends Enum<ErrorTypes>
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorTypes.Destination
Represents the destination of input.
|
static class |
ErrorTypes.Penalty
Indicating yield or penalize the processing when transfer the input.
|
static class |
ErrorTypes.Result
Result represents a result of a procedure.
|
| Enum Constant and Description |
|---|
Defer
The input was not ready for being processed.
|
InvalidInput
The input will be sent to the failure route for recovery without penalizing.
|
PersistentFailure
Procedure setting has to be fixed, otherwise the same error would occur irrelevant to the input.
|
TemporalFailure
The procedure is temporarily unavailable, usually due to the external service unavailability.
|
TemporalInputFailure
The input was not processed successfully due to some temporal error
related to the specifics of the input.
|
UnknownFailure
It is unknown whether the error is persistent or temporal, related to the input or not.
|
| Modifier and Type | Field and Description |
|---|---|
private ErrorTypes.Destination |
destination |
private ErrorTypes.Penalty |
penalty |
| Modifier and Type | Method and Description |
|---|---|
ErrorTypes.Destination |
destination() |
ErrorTypes.Penalty |
penalty() |
ErrorTypes.Result |
result() |
static ErrorTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorTypes PersistentFailure
public static final ErrorTypes UnknownFailure
public static final ErrorTypes InvalidInput
public static final ErrorTypes TemporalFailure
public static final ErrorTypes TemporalInputFailure
public static final ErrorTypes Defer
private final ErrorTypes.Destination destination
private final ErrorTypes.Penalty penalty
public static ErrorTypes[] values()
for (ErrorTypes c : ErrorTypes.values()) System.out.println(c);
public static ErrorTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ErrorTypes.Result result()
public ErrorTypes.Destination destination()
public ErrorTypes.Penalty penalty()
Copyright © 2019 Apache NiFi Project. All rights reserved.