次の方法で共有


PublisherType Class

public final class PublisherType
extends ExpandableStringEnum<PublisherType>

Publisher type of the namespace topic.

Field Summary

Modifier and Type Field and Description
static final PublisherType CUSTOM

Static value Custom for PublisherType.

Constructor Summary

Constructor Description
PublisherType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublisherType value.

Method Summary

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

Creates or finds a PublisherType from its string representation.

static Collection<PublisherType> values()

Gets known PublisherType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CUSTOM

public static final PublisherType CUSTOM

Static value Custom for PublisherType.

Constructor Details

PublisherType

@Deprecated
public PublisherType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublisherType value.

Method Details

fromString

public static PublisherType fromString(String name)

Creates or finds a PublisherType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublisherType.

values

public static Collection<PublisherType> values()

Gets known PublisherType values.

Returns:

known PublisherType values.

Applies to