public enum ChannelType extends java.lang.Enum<ChannelType>
Enum Constant and Description |
---|
QUEUE |
TAP_JOB |
TAP_QUEUE |
TAP_STREAM |
TAP_TOPIC |
TOPIC |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStringRepresentation() |
boolean |
isTap() |
org.springframework.xd.dirt.stream.dsl.ChannelType.TapSource |
tapSource() |
static ChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType QUEUE
public static final ChannelType TOPIC
public static final ChannelType TAP_QUEUE
public static final ChannelType TAP_TOPIC
public static final ChannelType TAP_STREAM
public static final ChannelType TAP_JOB
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStringRepresentation()
public boolean isTap()
public org.springframework.xd.dirt.stream.dsl.ChannelType.TapSource tapSource()