Enum PropertyType
- java.lang.Object
-
- java.lang.Enum<PropertyType>
-
- pl.zankowski.iextrading4j.client.properties.PropertyType
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyType>
public enum PropertyType extends Enum<PropertyType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultValue()
static PropertyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
API_REST_V1
public static final PropertyType API_REST_V1
-
API_REST_V2
public static final PropertyType API_REST_V2
-
API_REST_V2_SANDBOX
public static final PropertyType API_REST_V2_SANDBOX
-
API_REST_V2_BETA
public static final PropertyType API_REST_V2_BETA
-
API_REST_V2_BETA_SANDBOX
public static final PropertyType API_REST_V2_BETA_SANDBOX
-
API_REST_STABLE
public static final PropertyType API_REST_STABLE
-
API_REST_STABLE_SANDBOX
public static final PropertyType API_REST_STABLE_SANDBOX
-
API_SSE_V2
public static final PropertyType API_SSE_V2
-
API_SSE_V2_SANDBOX
public static final PropertyType API_SSE_V2_SANDBOX
-
API_SOCKET_V1
public static final PropertyType API_SOCKET_V1
-
API_SOCKET_V2
public static final PropertyType API_SOCKET_V2
-
API_SOCKET_V2_SANDBOX
public static final PropertyType API_SOCKET_V2_SANDBOX
-
FAIL_ON_UNKNOWN_PROPERTIES
public static final PropertyType FAIL_ON_UNKNOWN_PROPERTIES
-
-
Method Detail
-
values
public static PropertyType[] 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 (PropertyType c : PropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyType 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
-
getDefaultValue
public String getDefaultValue()
-
-