public enum RuntimeId extends Enum<RuntimeId>
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the numeric id assigned to this runtime by the Exonum core.
|
static RuntimeId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeId RUST
public static final RuntimeId JAVA
public static RuntimeId[] values()
for (RuntimeId c : RuntimeId.values()) System.out.println(c);
public static RuntimeId valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getId()
Copyright © 2019 Exonum. All rights reserved.