Enum TradingStatusType
- java.lang.Object
-
- java.lang.Enum<TradingStatusType>
-
- pl.zankowski.iextrading4j.api.marketdata.TradingStatusType
-
- All Implemented Interfaces:
Serializable
,Comparable<TradingStatusType>
public enum TradingStatusType extends Enum<TradingStatusType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRADING_HALT_RELEASED_INTO_ORDER_ACCEPTANCE_PERIOD
TRADING_HALTED
TRADING_ON_IEX
TRADING_PAUSED_AND_ORDER_ACCEPTANCE_PERIOD_ON_IEX
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TradingStatusType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TradingStatusType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRADING_HALTED
public static final TradingStatusType TRADING_HALTED
-
TRADING_HALT_RELEASED_INTO_ORDER_ACCEPTANCE_PERIOD
public static final TradingStatusType TRADING_HALT_RELEASED_INTO_ORDER_ACCEPTANCE_PERIOD
-
TRADING_PAUSED_AND_ORDER_ACCEPTANCE_PERIOD_ON_IEX
public static final TradingStatusType TRADING_PAUSED_AND_ORDER_ACCEPTANCE_PERIOD_ON_IEX
-
TRADING_ON_IEX
public static final TradingStatusType TRADING_ON_IEX
-
UNKNOWN
public static final TradingStatusType UNKNOWN
-
-
Method Detail
-
values
public static TradingStatusType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TradingStatusType c : TradingStatusType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TradingStatusType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-