Package io.debezium.embedded
Enum ConnectorOutputTest.ExecutionResult
- java.lang.Object
-
- java.lang.Enum<ConnectorOutputTest.ExecutionResult>
-
- io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectorOutputTest.ExecutionResult>
- Enclosing class:
- ConnectorOutputTest
private static enum ConnectorOutputTest.ExecutionResult extends Enum<ConnectorOutputTest.ExecutionResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORThe connector stopped after actual records did not match expected records.EXCEPTIONThe connector stopped after an unknown error or problem.RESTART_REQUESTEDThe connector stopped as requested in the expected results and is to be restarted.STOPPEDThe connector stopped as requested in the expected results.
-
Constructor Summary
Constructors Modifier Constructor Description privateExecutionResult()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectorOutputTest.ExecutionResultvalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectorOutputTest.ExecutionResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final ConnectorOutputTest.ExecutionResult ERROR
The connector stopped after actual records did not match expected records.
-
EXCEPTION
public static final ConnectorOutputTest.ExecutionResult EXCEPTION
The connector stopped after an unknown error or problem.
-
STOPPED
public static final ConnectorOutputTest.ExecutionResult STOPPED
The connector stopped as requested in the expected results.
-
RESTART_REQUESTED
public static final ConnectorOutputTest.ExecutionResult RESTART_REQUESTED
The connector stopped as requested in the expected results and is to be restarted.
-
-
Method Detail
-
values
public static ConnectorOutputTest.ExecutionResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConnectorOutputTest.ExecutionResult c : ConnectorOutputTest.ExecutionResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectorOutputTest.ExecutionResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-