Megosztás a következőn keresztül:


NamespaceType Class

public final class NamespaceType
extends ExpandableStringEnum<NamespaceType>

The type of entities the namespace can contain.

Field Summary

Modifier and Type Field and Description
static final NamespaceType EVENT_HUB

Static value EventHub for NamespaceType.

static final NamespaceType MESSAGING

Static value Messaging for NamespaceType.

static final NamespaceType MIXED

Static value Mixed for NamespaceType.

static final NamespaceType NOTIFICATION_HUB

Static value NotificationHub for NamespaceType.

static final NamespaceType RELAY

Static value Relay for NamespaceType.

Constructor Summary

Constructor Description
NamespaceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NamespaceType value.

Method Summary

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

Creates or finds a NamespaceType from its string representation.

static Collection<NamespaceType> values()

Gets known NamespaceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EVENT_HUB

public static final NamespaceType EVENT_HUB

Static value EventHub for NamespaceType.

MESSAGING

public static final NamespaceType MESSAGING

Static value Messaging for NamespaceType.

MIXED

public static final NamespaceType MIXED

Static value Mixed for NamespaceType.

NOTIFICATION_HUB

public static final NamespaceType NOTIFICATION_HUB

Static value NotificationHub for NamespaceType.

RELAY

public static final NamespaceType RELAY

Static value Relay for NamespaceType.

Constructor Details

NamespaceType

@Deprecated
public NamespaceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NamespaceType value.

Method Details

fromString

public static NamespaceType fromString(String name)

Creates or finds a NamespaceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NamespaceType.

values

public static Collection values()

Gets known NamespaceType values.

Returns:

known NamespaceType values.

Applies to