public enum ErrorHandlingStrategy extends Enum<ErrorHandlingStrategy>
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorHandlingStrategy.Penalty
Indicating yield or penalize the processing when transfer the input FlowFile.
|
static class |
ErrorHandlingStrategy.Result |
| Enum Constant and Description |
|---|
ConfigurationError
Processor setting has to be fixed, in order to NOT call failing processor
frequently, this it be yielded.
|
Fatal
The error can't be recovered without DataFlow Manager intervention.
|
InvalidInput
The input FlowFile will be sent to the failure relationship for further
processing without penalizing.
|
TemporalClusterError
Couchbase cluster is in unhealthy state.
|
TemporalFlowFileError
The FlowFile was not processed successfully due to some temporal error
related to this specific FlowFile or document.
|
| Modifier and Type | Field and Description |
|---|---|
private ErrorHandlingStrategy.Penalty |
penalty |
private ErrorHandlingStrategy.Result |
result |
| Modifier and Type | Method and Description |
|---|---|
ErrorHandlingStrategy.Penalty |
penalty() |
ErrorHandlingStrategy.Result |
result() |
static ErrorHandlingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorHandlingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorHandlingStrategy ConfigurationError
public static final ErrorHandlingStrategy InvalidInput
public static final ErrorHandlingStrategy TemporalClusterError
public static final ErrorHandlingStrategy TemporalFlowFileError
public static final ErrorHandlingStrategy Fatal
private final ErrorHandlingStrategy.Result result
private final ErrorHandlingStrategy.Penalty penalty
public static ErrorHandlingStrategy[] values()
for (ErrorHandlingStrategy c : ErrorHandlingStrategy.values()) System.out.println(c);
public static ErrorHandlingStrategy 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 ErrorHandlingStrategy.Result result()
public ErrorHandlingStrategy.Penalty penalty()
Copyright © 2021 Apache NiFi Project. All rights reserved.