Enum SystemEventType
- java.lang.Object
-
- java.lang.Enum<SystemEventType>
-
- pl.zankowski.iextrading4j.api.marketdata.SystemEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<SystemEventType>
public enum SystemEventType extends Enum<SystemEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MESSAGES_END
MESSAGES_START
REGULAR_MARKET_HOURS_END
REGULAR_MARKET_HOURS_START
SYSTEM_HOURS_END
SYSTEM_HOURS_START
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SystemEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGES_START
public static final SystemEventType MESSAGES_START
-
SYSTEM_HOURS_START
public static final SystemEventType SYSTEM_HOURS_START
-
REGULAR_MARKET_HOURS_START
public static final SystemEventType REGULAR_MARKET_HOURS_START
-
REGULAR_MARKET_HOURS_END
public static final SystemEventType REGULAR_MARKET_HOURS_END
-
SYSTEM_HOURS_END
public static final SystemEventType SYSTEM_HOURS_END
-
MESSAGES_END
public static final SystemEventType MESSAGES_END
-
UNKNOWN
public static final SystemEventType UNKNOWN
-
-
Method Detail
-
values
public static SystemEventType[] 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 (SystemEventType c : SystemEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemEventType 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
-
-