ServiceKind Class

public final class ServiceKind
extends ExpandableStringEnum<ServiceKind>

The kind of the service.

Field Summary

Modifier and Type Field and Description
static final ServiceKind RAW_WEB_SOCKETS

Static value RawWebSockets for ServiceKind.

static final ServiceKind SIGNALR

Static value SignalR for ServiceKind.

Constructor Summary

Constructor Description
ServiceKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceKind value.

Method Summary

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

Creates or finds a ServiceKind from its string representation.

static Collection<ServiceKind> values()

Gets known ServiceKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

RAW_WEB_SOCKETS

public static final ServiceKind RAW_WEB_SOCKETS

Static value RawWebSockets for ServiceKind.

SIGNALR

public static final ServiceKind SIGNALR

Static value SignalR for ServiceKind.

Constructor Details

ServiceKind

@Deprecated
public ServiceKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceKind value.

Method Details

fromString

public static ServiceKind fromString(String name)

Creates or finds a ServiceKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServiceKind.

values

public static Collection values()

Gets known ServiceKind values.

Returns:

known ServiceKind values.

Applies to