Class ValidationConstants.EODValidationConstants
java.lang.Object
com.bluebell.greenhouse.platform.constants.validation.ValidationConstants.EODValidationConstants
- Enclosing class:
ValidationConstants
EOD integration validation and error messages.
- Version:
- 3.0.5
- Author:
- Stephen Prizio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringError message used when the EOD API key is not configured.static final StringError message used when the EOD base URL is not configured.static final StringError message used when the service cannot reach the provider URL.static final StringValidation message used when an EOD exchange code is blank.static final StringError message used when a provider node cannot be mapped into a typed response object.static final StringValidation message used when an EOD technical-indicator function isnull.static final StringValidation message used when an EOD search query is blank.static final StringValidation message used when an integration request object isnull.static final StringError message used when the provider returns an error without a code.static final StringError message used when an EOD request fails without any provider details.static final StringError message used when the provider returns an error with a numeric code.static final StringError message used when the root EOD response cannot be parsed as expected.static final StringError message used when a typed EOD response payload does not match expectations.static final StringValidation message used when an EOD symbol is blank.static final StringValidation message used when a dividend lookup lacks both symbol and date filters.static final StringValidation message used when a news lookup lacks both symbol and topic filters.static final StringValidation message used when an EOD symbols filter is blank. -
Method Summary
-
Field Details
-
REQUEST_CANNOT_BE_NULL
Validation message used when an integration request object isnull.- See Also:
-
SYMBOL_CANNOT_BE_BLANK
Validation message used when an EOD symbol is blank.- See Also:
-
SYMBOLS_CANNOT_BE_BLANK
Validation message used when an EOD symbols filter is blank.- See Also:
-
EXCHANGE_CODE_CANNOT_BE_BLANK
Validation message used when an EOD exchange code is blank.- See Also:
-
QUERY_CANNOT_BE_BLANK
Validation message used when an EOD search query is blank.- See Also:
-
FUNCTION_CANNOT_BE_NULL
Validation message used when an EOD technical-indicator function isnull.- See Also:
-
SYMBOL_OR_DATE_MUST_BE_PROVIDED
Validation message used when a dividend lookup lacks both symbol and date filters.- See Also:
-
SYMBOL_OR_TOPIC_MUST_BE_PROVIDED
Validation message used when a news lookup lacks both symbol and topic filters.- See Also:
-
BASE_URL_NOT_CONFIGURED
Error message used when the EOD base URL is not configured.- See Also:
-
API_KEY_NOT_CONFIGURED
Error message used when the EOD API key is not configured.- See Also:
-
REQUEST_FAILED_UNKNOWN_REASON
Error message used when an EOD request fails without any provider details.Placeholder: none.
- See Also:
-
REQUEST_FAILED
Error message used when the provider returns an error without a code.Placeholder:
%s= provider error message.- See Also:
-
REQUEST_FAILED_WITH_CODE
Error message used when the provider returns an error with a numeric code.Placeholders:
%d= provider error code;%s= provider error message.- See Also:
-
CONNECTION_ERROR
Error message used when the service cannot reach the provider URL.Placeholder:
%s= provider URL.- See Also:
-
RESPONSE_UNEXPECTED
Error message used when the root EOD response cannot be parsed as expected.- See Also:
-
RESPONSE_UNEXPECTED_FOR
Error message used when a typed EOD response payload does not match expectations.Placeholder:
%s= response description.- See Also:
-
FAILED_TO_PARSE_TYPED_RESPONSE
Error message used when a provider node cannot be mapped into a typed response object.Placeholder:
%s= target class simple name.- See Also:
-