public enum IotaAPICommands extends Enum<IotaAPICommands>
Modifier and Type | Method and Description |
---|---|
String |
command()
Gets the command.
|
static IotaAPICommands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IotaAPICommands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IotaAPICommands GET_NODE_INFO
public static final IotaAPICommands GET_NEIGHBORS
public static final IotaAPICommands ADD_NEIGHBORS
public static final IotaAPICommands REMOVE_NEIGHBORS
public static final IotaAPICommands GET_TIPS
public static final IotaAPICommands FIND_TRANSACTIONS
public static final IotaAPICommands GET_TRYTES
public static final IotaAPICommands GET_INCLUSIONS_STATES
public static final IotaAPICommands GET_BALANCES
public static final IotaAPICommands GET_TRANSACTIONS_TO_APPROVE
public static final IotaAPICommands ATTACH_TO_TANGLE
public static final IotaAPICommands INTERRUPT_ATTACHING_TO_TANGLE
public static final IotaAPICommands BROADCAST_TRANSACTIONS
public static final IotaAPICommands STORE_TRANSACTIONS
public static final IotaAPICommands CHECK_CONSISTENCY
public static final IotaAPICommands WERE_ADDRESSES_SPENT_FROM
public static IotaAPICommands[] values()
for (IotaAPICommands c : IotaAPICommands.values()) System.out.println(c);
public static IotaAPICommands 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 String command()
Copyright © 2018. All rights reserved.