{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

KotlinEnum

public enum KotlinEnum extends Enum

java.lang.Object
   ↳ kotlin.Enum
     ↳ dokkatest.linking.KotlinEnum

Summary

Enum Values

ON_CATASTROPHE
ON_CREATE

Public methods

final @NonNull EnumEntries<@NonNull KotlinEnum>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

final @NonNull KotlinEnum

Returns the enum constant of this type with the specified name.

final @NonNull KotlinEnum[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

ON_CATASTROPHE

KotlinEnum KotlinEnum.ON_CATASTROPHE

ON_CREATE

KotlinEnum KotlinEnum.ON_CREATE

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull KotlinEnumgetEntries()

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

valueOf

public final @NonNull KotlinEnum valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

public final @NonNull KotlinEnum[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.