public enum ProviderEnum extends Enum<ProviderEnum>
| Enum Constant and Description |
|---|
DUMMY |
ESIGN |
FADADA |
UNIMPLEMENTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getContractFactory() |
int |
getId() |
String |
getName() |
String |
getSealFactory() |
static ProviderEnum |
idOf(int id) |
static ProviderEnum |
idOf(int id,
String defaultProviderName)
if id == 0, create it with default provider anme
|
static ProviderEnum |
nameOf(String name) |
static ProviderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProviderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProviderEnum UNIMPLEMENTED
public static final ProviderEnum DUMMY
public static final ProviderEnum FADADA
public static final ProviderEnum ESIGN
public static ProviderEnum[] values()
for (ProviderEnum c : ProviderEnum.values()) System.out.println(c);
public static ProviderEnum 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()
public String getName()
public String getContractFactory()
public String getSealFactory()
public static ProviderEnum nameOf(String name)
public static ProviderEnum idOf(int id)
public static ProviderEnum idOf(int id, String defaultProviderName)
id - defaultProviderName - Copyright © 2020. All rights reserved.