Share via


ChannelType Class

public final class ChannelType
extends ExpandableStringEnum<ChannelType>

The type of the event channel which represents the direction flow of events.

Field Summary

Modifier and Type Field and Description
static final ChannelType PARTNER_TOPIC

Static value PartnerTopic for ChannelType.

Constructor Summary

Constructor Description
ChannelType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ChannelType value.

Method Summary

Modifier and Type Method and Description
static ChannelType fromString(String name)

Creates or finds a ChannelType from its string representation.

static Collection<ChannelType> values()

Gets known ChannelType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PARTNER_TOPIC

public static final ChannelType PARTNER_TOPIC

Static value PartnerTopic for ChannelType.

Constructor Details

ChannelType

@Deprecated
public ChannelType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ChannelType value.

Method Details

fromString

public static ChannelType fromString(String name)

Creates or finds a ChannelType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ChannelType.

values

public static Collection<ChannelType> values()

Gets known ChannelType values.

Returns:

known ChannelType values.

Applies to