Package org.polkadot.rpc.provider
Enum IProvider.ProviderInterfaceEmitted
- java.lang.Object
-
- java.lang.Enum<IProvider.ProviderInterfaceEmitted>
-
- org.polkadot.rpc.provider.IProvider.ProviderInterfaceEmitted
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IProvider.ProviderInterfaceEmitted>,java.lang.constant.Constable,EventEmitter.EventType
- Enclosing interface:
- IProvider
public static enum IProvider.ProviderInterfaceEmitted extends java.lang.Enum<IProvider.ProviderInterfaceEmitted> implements EventEmitter.EventType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description connecteddisconnectederrorready
-
Method Summary
Modifier and Type Method Description static IProvider.ProviderInterfaceEmittedvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IProvider.ProviderInterfaceEmitted[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ready
public static final IProvider.ProviderInterfaceEmitted ready
-
connected
public static final IProvider.ProviderInterfaceEmitted connected
-
disconnected
public static final IProvider.ProviderInterfaceEmitted disconnected
-
error
public static final IProvider.ProviderInterfaceEmitted error
-
-
Method Detail
-
values
public static IProvider.ProviderInterfaceEmitted[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IProvider.ProviderInterfaceEmitted valueOf(java.lang.String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-