Package io.confluent.ksql.api.client
Enum ConnectorType.Type
- java.lang.Object
-
- java.lang.Enum<ConnectorType.Type>
-
- io.confluent.ksql.api.client.ConnectorType.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectorType.Type>
- Enclosing interface:
- ConnectorType
public static enum ConnectorType.Type extends Enum<ConnectorType.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectorType.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectorType.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOURCE
public static final ConnectorType.Type SOURCE
-
SINK
public static final ConnectorType.Type SINK
-
UNKNOWN
public static final ConnectorType.Type UNKNOWN
Denotes an unknown connector type. This is used when the connector type cannot be determined, such as when there were errors in connector creation.
-
-
Method Detail
-
values
public static ConnectorType.Type[] 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 (ConnectorType.Type c : ConnectorType.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectorType.Type 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
-
-