Skip navigation links
A B C D E F G H I J L M O P R S T U V 

A

activity(BreinActivity, Consumer<BreinResult>) - Method in class com.brein.api.Brein
Sends an activity to the engine utilizing the API.
activity(M<String>, String) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(M<String>, String, Consumer<BreinResult>) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(M<String>, String, String) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(M<String>, String, String, Consumer<BreinResult>) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(M<String>, String, String, String, Consumer<BreinResult>) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(BreinUser, String) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(BreinUser, String, String, String) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(BreinUser, String, String, String, Consumer<BreinResult>) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(BreinActivity) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
activity(BreinActivity, Consumer<BreinResult>) - Static method in class com.brein.api.Breinify
Method to send an activity asynchronous.
ACTIVITY_FIELD - Static variable in class com.brein.api.BreinActivity
 
ACTIVITY_TYPE_NOT_SET - Static variable in exception com.brein.api.BreinException
 
ADD_TO_CART - Static variable in class com.brein.domain.BreinActivityType
 
ADDITIONAL_FIELD - Static variable in class com.brein.domain.BreinUser
 
addShapeTypes(String...) - Method in class com.brein.api.BreinTemporalData
Adds the specified shapeTypes to the currently defined shape-types to be returned with the response of the request, i.e.:
ANSI_BLACK - Static variable in class com.brein.sample.Sample
 
ANSI_BLACK_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_BLUE - Static variable in class com.brein.sample.Sample
 
ANSI_BLUE_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_BOLD - Static variable in class com.brein.sample.Sample
 
ANSI_CYAN - Static variable in class com.brein.sample.Sample
 
ANSI_CYAN_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_GREEN - Static variable in class com.brein.sample.Sample
 
ANSI_GREEN_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_PURPLE - Static variable in class com.brein.sample.Sample
 
ANSI_PURPLE_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_RED - Static variable in class com.brein.sample.Sample
 
ANSI_RED_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_RESET - Static variable in class com.brein.sample.Sample
 
ANSI_WHITE - Static variable in class com.brein.sample.Sample
 
ANSI_WHITE_BACKGROUND - Static variable in class com.brein.sample.Sample
 
ANSI_YELLOW - Static variable in class com.brein.sample.Sample
 
ANSI_YELLOW_BACKGROUND - Static variable in class com.brein.sample.Sample
 
API_KEY_FIELD - Static variable in class com.brein.api.BreinBase
 
APPAREL - Static variable in class com.brein.domain.BreinCategoryType
 
asMap() - Method in class com.brein.util.M
 

B

Brein - Class in com.brein.api
 
Brein() - Constructor for class com.brein.api.Brein
 
BREIN_BASE_VALIDATION_FAILED - Static variable in exception com.brein.api.BreinException
 
BreinActivity - Class in com.brein.api
Sends an activity to the engine utilizing the API.
BreinActivity() - Constructor for class com.brein.api.BreinActivity
 
BreinActivity.ActivityField - Enum in com.brein.api
This list may not be complete it just contains some values.
BreinActivityType - Class in com.brein.domain
The type of the activity collected, i.e., one of search, login, logout, addToCart, removeFromCart, checkOut, selectProduct, or other.
BreinActivityType() - Constructor for class com.brein.domain.BreinActivityType
 
BreinBase<T extends BreinBase> - Class in com.brein.api
Base Class for activity and lookup operations.
BreinBase() - Constructor for class com.brein.api.BreinBase
 
BreinBase.BaseField - Enum in com.brein.api
This list may not be complete it just contains some values.
BreinCategoryType - Class in com.brein.domain
The categoryType of the platform/service/products, i.e., one of apparel, home, education, family, food, health, job, services, or other.
BreinCategoryType() - Constructor for class com.brein.domain.BreinCategoryType
 
BreinConfig - Class in com.brein.domain
Provides the configuration of the library for the properties supplied.
BreinConfig(String) - Constructor for class com.brein.domain.BreinConfig
 
BreinConfig(String, String) - Constructor for class com.brein.domain.BreinConfig
 
BreinDimension - Class in com.brein.domain
Contains the Dimension to ask for
BreinDimension(String...) - Constructor for class com.brein.domain.BreinDimension
Ctor with array of requested dimensions
BreinEngine - Class in com.brein.engine
Creates the Rest Engine and provides the methods to invoke activity and lookup calls
BreinEngine() - Constructor for class com.brein.engine.BreinEngine
 
BreinEngineType - Enum in com.brein.engine
Specifies the possible Engine Types
BreinEventResult - Class in com.brein.domain.results.temporaldataparts
 
BreinEventResult(Map<String, Object>) - Constructor for class com.brein.domain.results.temporaldataparts.BreinEventResult
 
BreinEventResult.EventCategory - Enum in com.brein.domain.results.temporaldataparts
 
BreinException - Exception in com.brein.api
BreinException
BreinException(Throwable) - Constructor for exception com.brein.api.BreinException
 
BreinException(String) - Constructor for exception com.brein.api.BreinException
 
BreinException(String, Exception) - Constructor for exception com.brein.api.BreinException
 
BreinHolidayResult - Class in com.brein.domain.results.temporaldataparts
 
BreinHolidayResult(Map<String, Object>) - Constructor for class com.brein.domain.results.temporaldataparts.BreinHolidayResult
 
BreinHolidayResult.HolidaySource - Enum in com.brein.domain.results.temporaldataparts
 
BreinHolidayResult.HolidayType - Enum in com.brein.domain.results.temporaldataparts
 
Breinify - Class in com.brein.api
 
Breinify() - Constructor for class com.brein.api.Breinify
 
BreinInvalidConfigurationException - Exception in com.brein.api
Exception in case of wrong configuration
BreinInvalidConfigurationException(Throwable) - Constructor for exception com.brein.api.BreinInvalidConfigurationException
 
BreinInvalidConfigurationException(String) - Constructor for exception com.brein.api.BreinInvalidConfigurationException
 
BreinInvalidConfigurationException(String, Exception) - Constructor for exception com.brein.api.BreinInvalidConfigurationException
 
BreinLocationResult - Class in com.brein.domain.results.temporaldataparts
 
BreinLocationResult(Map<String, Object>) - Constructor for class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
BreinLookup - Class in com.brein.api
Provides the lookup functionality
BreinLookup() - Constructor for class com.brein.api.BreinLookup
 
BreinMapUtil - Class in com.brein.util
Helper class for map related functions
BreinMapUtil() - Constructor for class com.brein.util.BreinMapUtil
 
BreinRecommendation - Class in com.brein.api
 
BreinRecommendation() - Constructor for class com.brein.api.BreinRecommendation
 
BreinResult - Class in com.brein.domain
Contains the result of an Brein Request when invoking a lookup
BreinResult(String, int) - Constructor for class com.brein.domain.BreinResult
 
BreinResult(Exception, int) - Constructor for class com.brein.domain.BreinResult
 
BreinResult(Map<String, Object>, int) - Constructor for class com.brein.domain.BreinResult
 
BreinResult(Map<String, Object>) - Constructor for class com.brein.domain.BreinResult
 
BreinTemporalData - Class in com.brein.api
Provides the lookup functionality
BreinTemporalData() - Constructor for class com.brein.api.BreinTemporalData
 
BreinTemporalDataResult - Class in com.brein.domain.results
 
BreinTemporalDataResult(Map<String, Object>) - Constructor for class com.brein.domain.results.BreinTemporalDataResult
 
BreinTemporalDataResult(BreinResult) - Constructor for class com.brein.domain.results.BreinTemporalDataResult
 
BreinUser - Class in com.brein.domain
A plain object specifying the user information the activity belongs to
BreinUser() - Constructor for class com.brein.domain.BreinUser
 
BreinUser.UserField - Enum in com.brein.domain
This list may not be complete it just contains some values.
BreinUtil - Class in com.brein.util
Utility class
BreinUtil() - Constructor for class com.brein.util.BreinUtil
 
BreinWeatherResult - Class in com.brein.domain.results.temporaldataparts
 
BreinWeatherResult(Map<String, Object>) - Constructor for class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 

C

CATEGORY_TYPE_NOT_SET - Static variable in exception com.brein.api.BreinException
 
checkBaseUrl(String) - Method in class com.brein.domain.BreinConfig
checks if the url is valid.
CheckFunction - Interface in com.brein.api
Used to invoke actions within the map
CHECKOUT - Static variable in class com.brein.domain.BreinActivityType
 
CITY_TEXT_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
closeExecutor(int, int) - Method in class com.brein.engine.JerseyRestEngine
 
com.brein.api - package com.brein.api
 
com.brein.domain - package com.brein.domain
 
com.brein.domain.results - package com.brein.domain.results
 
com.brein.domain.results.temporaldataparts - package com.brein.domain.results.temporaldataparts
 
com.brein.engine - package com.brein.engine
 
com.brein.sample - package com.brein.sample
 
com.brein.util - package com.brein.util
 
CONFIG_VALIDATION_FAILED - Static variable in exception com.brein.api.BreinException
 
configure(BreinConfig) - Method in class com.brein.engine.DummyRestEngine
configuration of the rest client
configure(BreinConfig) - Method in interface com.brein.engine.IRestEngine
configures the rest engine
configure(BreinConfig) - Method in class com.brein.engine.JerseyRestEngine
configuration of the rest client
configure(BreinConfig) - Method in class com.brein.engine.UniRestEngine
configures the rest engine
containsValue(Object) - Static method in class com.brein.util.BreinUtil
Verifies if the object contains a value Return false in case of: - null - empty strings
copyList(List<Object>) - Static method in class com.brein.util.BreinMapUtil
 
copyMap(Map<String, Object>) - Static method in class com.brein.util.BreinMapUtil
Map Helper method used to copy a hashmap of type String, Object
copyValue(Object) - Static method in class com.brein.util.BreinMapUtil
 
COUNTRY_TEXT_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
createSignature(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinActivity
Generates the signature for the request
createSignature(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinLookup
Creates the signature for lookup
createSignature(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinRecommendation
Generates the signature for the request
createSignature(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinTemporalData
Creates the signature for temporaldata
createSignature(BreinConfig, Map<String, Object>) - Method in interface com.brein.api.ISecretStrategy
Creates the appropriate signature that is part of the request to the Breinify server.

D

DEFAULT_ACTIVITY_ENDPOINT - Static variable in class com.brein.domain.BreinConfig
default endpoint for activity
DEFAULT_BASE_URL - Static variable in class com.brein.domain.BreinConfig
default Breinify base url
DEFAULT_CONNECTION_TIMEOUT - Static variable in class com.brein.domain.BreinConfig
default connection timeout
DEFAULT_ENGINE_TYPE - Static variable in class com.brein.domain.BreinConfig
default BreinEngineType
DEFAULT_LOOKUP_ENDPOINT - Static variable in class com.brein.domain.BreinConfig
default endpoint for lookup
DEFAULT_RECOMMENDATION_ENDPOINT - Static variable in class com.brein.domain.BreinConfig
default endpoint for recommendation
DEFAULT_SOCKET_TIMEOUT - Static variable in class com.brein.domain.BreinConfig
default socket timeout
DEFAULT_TEMPORALDATA_ENDPOINT - Static variable in class com.brein.domain.BreinConfig
default endpoint for temporalData
DummyRestEngine - Class in com.brein.engine
could be the jersey rest engine implementation
DummyRestEngine() - Constructor for class com.brein.engine.DummyRestEngine
 

E

EDUCATION - Static variable in class com.brein.domain.BreinCategoryType
 
ENGINE_NOT_INITIALIZED - Static variable in exception com.brein.api.BreinException
 
execute(Consumer<BreinResult>) - Method in class com.brein.api.BreinActivity
 
execute() - Method in class com.brein.api.BreinLookup
 
execute() - Method in class com.brein.api.BreinRecommendation
 
execute() - Method in class com.brein.api.BreinTemporalData
 
execute() - Method in interface com.brein.api.IAsyncExecutable
Method to execute the request asynchronous without any callback.
execute(Consumer<R>) - Method in interface com.brein.api.IAsyncExecutable
Method to execute the request asynchronous with a callback.
execute() - Method in interface com.brein.api.IExecutable
Method to execute the request synchronous.
executeMapFunctions(JsonObject, Map<String, CheckFunction>) - Static method in class com.brein.util.BreinMapUtil
Executes the actions within the map.

F

FAMILY - Static variable in class com.brein.domain.BreinCategoryType
 
FOOD - Static variable in class com.brein.domain.BreinCategoryType
 
forEach(BiConsumer<String, T>) - Method in class com.brein.util.M
 
fromMap(Map<String, T>) - Static method in class com.brein.util.M
 

G

generateSecret(int) - Static method in class com.brein.util.BreinUtil
Creates a secret by given len
generateSignature(String, String) - Static method in class com.brein.util.BreinUtil
Generates the signature
GeoCoordinates - Class in com.brein.domain.results.temporaldataparts
 
GeoCoordinates(Double, Double) - Constructor for class com.brein.domain.results.temporaldataparts.GeoCoordinates
 
get(String) - Method in class com.brein.api.BreinActivity
 
get(String) - Method in class com.brein.domain.BreinResult
retrieves the object according to the requested key
get(String) - Method in class com.brein.domain.BreinUser
 
get(String, boolean) - Method in class com.brein.domain.BreinUser
 
getActivityEndpoint() - Method in class com.brein.domain.BreinConfig
 
getActivityField(BreinActivity.ActivityField) - Method in class com.brein.api.BreinActivity
 
getActivityType() - Method in class com.brein.api.BreinActivity
returns activity type
getAdditional(String) - Method in class com.brein.domain.BreinUser
 
getApiKey() - Method in class com.brein.domain.BreinConfig
 
getBaseField(BreinBase.BaseField) - Method in class com.brein.api.BreinBase
 
getBaseUrl() - Method in class com.brein.domain.BreinConfig
retrieves the base url
getBrein() - Static method in class com.brein.api.Breinify
 
getBreinDimension() - Method in class com.brein.api.BreinLookup
retrieves the Brein dimension object
getCategory(BreinConfig) - Method in class com.brein.api.BreinActivity
retrieves brein category.
getCategory() - Method in class com.brein.api.BreinRecommendation
get the recommendation category
getCategory() - Method in class com.brein.domain.results.temporaldataparts.BreinEventResult
 
getCity() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getCloudCover() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getConnectionTimeout() - Method in class com.brein.domain.BreinConfig
 
getCountry() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getDateOfBirth() - Method in class com.brein.domain.BreinUser
Returns the date of birth
getDefaultCategory() - Method in class com.brein.domain.BreinConfig
 
getDescription() - Method in class com.brein.api.BreinActivity
retrieves the description
getDescription() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getDimensionFields() - Method in class com.brein.domain.BreinDimension
retrieve dimension array
getEmail() - Method in class com.brein.domain.BreinUser
get the email of the user
getEnd() - Method in class com.brein.domain.results.temporaldataparts.BreinEventResult
 
getEndPoint(BreinConfig) - Method in class com.brein.api.BreinActivity
 
getEndPoint(BreinConfig) - Method in class com.brein.api.BreinBase
Gets the endpoint to be used to send the request to
getEndPoint(BreinConfig) - Method in class com.brein.api.BreinLookup
 
getEndPoint(BreinConfig) - Method in class com.brein.api.BreinRecommendation
 
getEndPoint(BreinConfig) - Method in class com.brein.api.BreinTemporalData
 
getEngine() - Method in class com.brein.api.Brein
 
getEngine(BreinConfig) - Method in class com.brein.engine.BreinEngine
 
getEpochDateTime() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
getEvents() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
getFirstName() - Method in class com.brein.domain.BreinUser
Retrieves the first name of the user
getFullyQualifiedUrl(BreinConfig, BreinBase) - Method in interface com.brein.engine.IRestEngine
 
getGeoJson(String) - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getGeoJsons() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getGranularity() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getGson() - Method in class com.brein.api.BreinBase
Gets the GSON builder instance used to build the requests body
getHolidays() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
getLastMeasured() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getLastName() - Method in class com.brein.domain.BreinUser
Retrieves the last name of the user
getLat() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getLatitude() - Method in class com.brein.domain.results.temporaldataparts.GeoCoordinates
 
getLocation(String) - Method in class com.brein.api.BreinTemporalData
Gets the current value specified within the location of the request.
getLocation() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
getLon() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getLongitude() - Method in class com.brein.domain.results.temporaldataparts.GeoCoordinates
 
getLookupEndpoint() - Method in class com.brein.domain.BreinConfig
 
getMap() - Method in class com.brein.domain.BreinResult
provides the map containing the results
getMeasuredAt() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getMessage() - Method in class com.brein.domain.BreinResult
 
getName() - Method in enum com.brein.api.BreinActivity.ActivityField
 
getName() - Method in enum com.brein.api.BreinBase.BaseField
 
getName() - Method in enum com.brein.domain.BreinUser.UserField
 
getName() - Method in class com.brein.domain.results.temporaldataparts.BreinEventResult
 
getName() - Method in class com.brein.domain.results.temporaldataparts.BreinHolidayResult
 
getNestedValue(String...) - Method in class com.brein.domain.BreinResult
 
getNestedValue(Map<String, Object>, String...) - Static method in class com.brein.util.BreinMapUtil
 
getNumberOfRecommendations() - Method in class com.brein.api.BreinRecommendation
get the number of recommendations
getOr(Map<String, Object>, String, T) - Static method in class com.brein.util.JsonHelpers
Tries to grab an element from a json
getOrLong(Map<String, Object>, String) - Static method in class com.brein.util.JsonHelpers
There isn't a clear difference between doubles and longs in jsons, so we have to specifically cast longs
getPrecipitation() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getPrecipitationAmount() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getRecommendationEndpoint() - Method in class com.brein.domain.BreinConfig
 
getRequestBody(BreinConfig, BreinBase) - Method in interface com.brein.engine.IRestEngine
 
getRestEngine(BreinEngineType) - Static method in interface com.brein.engine.IRestEngine
Creates the requested Rest Engine.
getRestEngineType() - Method in class com.brein.domain.BreinConfig
 
getRestEngineType(BreinEngineType) - Static method in interface com.brein.engine.IRestEngine
 
getSecret() - Method in class com.brein.domain.BreinConfig
 
getSessionId() - Method in class com.brein.domain.BreinUser
returns the sessionId (if set)
getSize() - Method in class com.brein.domain.results.temporaldataparts.BreinEventResult
 
getSocketTimeout() - Method in class com.brein.domain.BreinConfig
 
getSource() - Method in class com.brein.domain.results.temporaldataparts.BreinHolidayResult
 
getStart() - Method in class com.brein.domain.results.temporaldataparts.BreinEventResult
 
getState() - Method in class com.brein.domain.results.temporaldataparts.BreinLocationResult
 
getStatus() - Method in class com.brein.domain.BreinResult
returns the http request status
getTemperatureCelsius() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getTemperatureFahrenheit() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getTemperatureKelvin() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getTemporalDataEndpoint() - Method in class com.brein.domain.BreinConfig
 
getThis() - Method in class com.brein.api.BreinBase
 
getTypes() - Method in class com.brein.domain.results.temporaldataparts.BreinHolidayResult
 
getUnixTimestamp() - Method in class com.brein.api.BreinBase
Retrieves the currently set unixTimestamp.
getUrl() - Method in class com.brein.domain.BreinConfig
 
getUser() - Method in class com.brein.api.BreinBase
Retrieves the current BreinUser for the request.
getUserField(BreinUser.UserField) - Method in class com.brein.domain.BreinUser
 
getValue(String) - Method in class com.brein.domain.BreinResult
 
getWeather() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
getWindStrength() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
getZonedDateTime() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
GSON - Static variable in class com.brein.api.BreinBase
Builder for JSON creation

H

has(String) - Method in class com.brein.domain.BreinResult
checks if key exists in map
hasClass() - Method in enum com.brein.engine.BreinEngineType
Checks if a class exist on the classpath
hasEpochDateTime() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
hasEvents() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
hasHolidays() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
hasLocalDateTime() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
hasLocation() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
hasNestedValue(String...) - Method in class com.brein.domain.BreinResult
 
hasNestedValue(Map<String, Object>, String...) - Static method in class com.brein.util.BreinMapUtil
 
hasValue(String) - Method in class com.brein.domain.BreinResult
 
hasWeather() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
HEADER_ACCESS - Static variable in interface com.brein.engine.IRestEngine
 
HEADER_APP_JSON - Static variable in interface com.brein.engine.IRestEngine
 
HEALTH - Static variable in class com.brein.domain.BreinCategoryType
 
HOME - Static variable in class com.brein.domain.BreinCategoryType
 

I

IAsyncExecutable<R extends BreinResult> - Interface in com.brein.api
 
IExecutable<R extends BreinResult> - Interface in com.brein.api
 
invoke() - Method in interface com.brein.api.CheckFunction
 
invoke(BreinConfig, BreinBase) - Method in class com.brein.engine.BreinEngine
 
invokeAsync(BreinConfig, BreinBase, Consumer<BreinResult>) - Method in class com.brein.engine.BreinEngine
 
invokeAsyncRequest(BreinConfig, BreinBase, Consumer<BreinResult>) - Method in class com.brein.engine.DummyRestEngine
 
invokeAsyncRequest(BreinConfig, BreinBase, Consumer<BreinResult>) - Method in interface com.brein.engine.IRestEngine
 
invokeAsyncRequest(BreinConfig, BreinBase, Consumer<BreinResult>) - Method in class com.brein.engine.JerseyRestEngine
 
invokeAsyncRequest(BreinConfig, BreinBase, Consumer<BreinResult>) - Method in class com.brein.engine.UniRestEngine
 
invokeRequest(BreinConfig, BreinBase) - Method in class com.brein.engine.DummyRestEngine
 
invokeRequest(BreinConfig, BreinBase) - Method in interface com.brein.engine.IRestEngine
 
invokeRequest(BreinConfig, BreinBase) - Method in class com.brein.engine.JerseyRestEngine
 
invokeRequest(BreinConfig, BreinBase) - Method in class com.brein.engine.UniRestEngine
 
IP_ADDRESS_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
IRestEngine - Interface in com.brein.engine
Interface for all possible rest engines
ISecretStrategy - Interface in com.brein.api
Base class for the secret strategy
isSign() - Method in class com.brein.domain.BreinConfig
 
isSupported(BreinEngineType) - Static method in enum com.brein.engine.BreinEngineType
 
isValidUrl(String) - Static method in class com.brein.util.BreinUtil
 

J

JAVA_SCRIPT_FORMAT - Static variable in class com.brein.api.BreinTemporalData
 
JerseyRestEngine - Class in com.brein.engine
could be the jersey rest engine implementation
JerseyRestEngine() - Constructor for class com.brein.engine.JerseyRestEngine
 
JOB - Static variable in class com.brein.domain.BreinCategoryType
 
JsonHelpers - Class in com.brein.util
 
JsonHelpers() - Constructor for class com.brein.util.JsonHelpers
 

L

LATITUDE_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
LOCAL_DATE_TIME_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
LOCATION_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
LOG - Static variable in interface com.brein.engine.IRestEngine
 
LOGIN - Static variable in class com.brein.domain.BreinActivityType
 
LOGOUT - Static variable in class com.brein.domain.BreinActivityType
 
LONGITUDE_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
lookup(BreinLookup) - Method in class com.brein.api.Brein
Retrieves a lookup result from the engine.
lookUp(BreinLookup) - Static method in class com.brein.api.Breinify
 
LOOKUP_EXCEPTION - Static variable in exception com.brein.api.BreinException
 

M

M<T> - Class in com.brein.util
 
M() - Constructor for class com.brein.util.M
 
main(String[]) - Static method in class com.brein.sample.Sample
 
map - Variable in class com.brein.util.M
 
MSG_REQUEST_HAS_BEEN_CANCELLED - Static variable in class com.brein.engine.UniRestEngine
 
MSG_REQUEST_HAS_FAILED - Static variable in class com.brein.engine.UniRestEngine
 
MSG_REQUEST_WAS_SUCCESSFUL - Static variable in class com.brein.engine.UniRestEngine
 
MSG_URL_IS_NULL - Static variable in class com.brein.engine.UniRestEngine
some constants

O

OTHER - Static variable in class com.brein.domain.BreinActivityType
 
OTHER - Static variable in class com.brein.domain.BreinCategoryType
 

P

PAGEVISIT - Static variable in class com.brein.domain.BreinActivityType
 
parseJson(String) - Method in interface com.brein.engine.IRestEngine
 
PrecipitationType - Enum in com.brein.domain.results.temporaldataparts
 
prepareRequestData(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinActivity
 
prepareRequestData(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinBase
This method adds the request specific information to the requestData.
prepareRequestData(BreinConfig) - Method in class com.brein.api.BreinBase
Method to generate the body part of the request.
prepareRequestData(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinLookup
 
prepareRequestData(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinRecommendation
 
prepareRequestData(BreinConfig, Map<String, Object>) - Method in class com.brein.api.BreinTemporalData
 
prepareRequestData(BreinConfig, Map<String, Object>) - Method in class com.brein.domain.BreinUser
 

R

randomString() - Static method in class com.brein.util.BreinUtil
Helper method to generate a random string
randomString(int) - Static method in class com.brein.util.BreinUtil
Helper methods generates a random string by len
recommendation(BreinRecommendation) - Method in class com.brein.api.Brein
Sends a recommendation request to the engine utilizing the API.
recommendation(BreinRecommendation) - Static method in class com.brein.api.Breinify
 
REMOVE_FROM_CART - Static variable in class com.brein.domain.BreinActivityType
 
REQUEST_BODY_FAILED - Static variable in exception com.brein.api.BreinException
 
REQUEST_FAILED - Static variable in exception com.brein.api.BreinException
 
resolveFull() - Static method in class com.brein.sample.Sample
 
resolveIpAddress(String) - Static method in class com.brein.sample.Sample
 
resolveLatLon(double, double) - Static method in class com.brein.sample.Sample
 
resolveText(String) - Static method in class com.brein.sample.Sample
 

S

Sample - Class in com.brein.sample
 
Sample() - Constructor for class com.brein.sample.Sample
 
SEARCH - Static variable in class com.brein.domain.BreinActivityType
 
SELECT_PRODUCT - Static variable in class com.brein.domain.BreinActivityType
 
SERVICES - Static variable in class com.brein.domain.BreinCategoryType
 
set(BreinActivity, Object) - Method in enum com.brein.api.BreinActivity.ActivityField
 
set(String, Object) - Method in class com.brein.api.BreinActivity
 
set(BreinBase, Object) - Method in enum com.brein.api.BreinBase.BaseField
 
set(String, Object) - Method in class com.brein.api.BreinBase
Sets a base value.
set(String, Object) - Method in class com.brein.domain.BreinUser
Sets the users value and overrides any current value.
set(BreinUser, Object) - Method in enum com.brein.domain.BreinUser.UserField
 
set(String, T) - Method in class com.brein.util.M
 
set(Map) - Method in class com.brein.util.M
 
set(M) - Method in class com.brein.util.M
 
setActivityEndpoint(String) - Method in class com.brein.domain.BreinConfig
 
setActivityType(String) - Method in class com.brein.api.BreinActivity
Sets activity type
setAdditional(String, Object) - Method in class com.brein.api.BreinBase
Sets a specific data point for the additional part of the request, i.e.:
setAdditional(String, Object) - Method in class com.brein.domain.BreinUser
Sets an additional value.
setApiKey(String) - Method in class com.brein.domain.BreinConfig
 
setBaseUrl(String) - Method in class com.brein.domain.BreinConfig
set the base url of the breinify backend and will check if the URL is valid.
setBreinDimension(BreinDimension) - Method in class com.brein.api.BreinLookup
sets the breindimension object - will be used for lookup
setCategory(String) - Method in class com.brein.api.BreinActivity
sets brein category
setCategory(String) - Method in class com.brein.api.BreinRecommendation
set the recommendation category
setClientIpAddress(String) - Method in class com.brein.api.BreinBase
sets the ipaddress
setConfig(BreinConfig) - Method in class com.brein.api.Brein
Sets the configuration
setConfig(BreinConfig) - Static method in class com.brein.api.Breinify
Specifies the overall configuration used by the library.
setConfig(String) - Static method in class com.brein.api.Breinify
Specifies the overall configuration used by the library.
setConfig(String, String) - Static method in class com.brein.api.Breinify
Specifies the overall configuration used by the library.
setConnectionTimeout(long) - Method in class com.brein.domain.BreinConfig
 
setDateOfBirth(int, int, int) - Method in class com.brein.domain.BreinUser
Set's the date of birth There is no check if the month - day combination is valid, only the range for day, month and year will be checked
setDateOfBirth(String) - Method in class com.brein.domain.BreinUser
Sets the value of dateOfBirth as String.
setDefaultCategory(String) - Method in class com.brein.domain.BreinConfig
 
setDescription(String) - Method in class com.brein.api.BreinActivity
sets the description
setDimensionFields(String...) - Method in class com.brein.domain.BreinDimension
sets dimension array
setEmail(String) - Method in class com.brein.domain.BreinUser
sets the email of the user
setFirstName(String) - Method in class com.brein.domain.BreinUser
set the first name of the user
setLastName(String) - Method in class com.brein.domain.BreinUser
set the last name of the user
setLatitude(double) - Method in class com.brein.api.BreinTemporalData
Sets the latitude used to look-up the temporal information, i.e.:
setLocalDateTime() - Method in class com.brein.api.BreinTemporalData
Sets the localDateTime based on the system's time, i.e.:
setLocalDateTime(ZonedDateTime) - Method in class com.brein.api.BreinTemporalData
Sets the localDateTime, i.e.:
setLocation(String) - Method in class com.brein.api.BreinTemporalData
Sets the location data using free text, i.e.:
setLocation(String, String, String) - Method in class com.brein.api.BreinTemporalData
Sets the location data using structured data (city, state, country), i.e.:
setLocation(String, Object) - Method in class com.brein.api.BreinTemporalData
 
setLongitude(double) - Method in class com.brein.api.BreinTemporalData
Sets the longitude used to look-up the temporal information, i.e.:
setLookupEndpoint(String) - Method in class com.brein.domain.BreinConfig
 
setLookUpIpAddress(String) - Method in class com.brein.api.BreinTemporalData
Sets the ipAddress used to look-up the temporal information, i.e.:
setNumberOfRecommendations(int) - Method in class com.brein.api.BreinRecommendation
set the number of recommendations
setRecommendationEndpoint(String) - Method in class com.brein.domain.BreinConfig
 
setRestEngineType(BreinEngineType) - Method in class com.brein.domain.BreinConfig
 
setSecret(String) - Method in class com.brein.domain.BreinConfig
 
setSessionId(String) - Method in class com.brein.domain.BreinUser
sets the sessionId
setShapeTypes(String...) - Method in class com.brein.api.BreinTemporalData
Sets the shape-types to be returned with the response of the request, i.e.:
setSocketTimeout(long) - Method in class com.brein.domain.BreinConfig
 
setStatus(int) - Method in class com.brein.domain.BreinResult
sets the http request status
setTag(String, Object) - Method in class com.brein.api.BreinActivity
 
setTemporalDataEndpoint(String) - Method in class com.brein.domain.BreinConfig
 
setTimezone(TimeZone) - Method in class com.brein.api.BreinTemporalData
Sets the timezone within the request, i.e.:
setTimezone(String) - Method in class com.brein.api.BreinTemporalData
Sets the timezone within the request, i.e.:
setUnixTimestamp(long) - Method in class com.brein.api.BreinBase
Sets the timestamp.
setUser(BreinUser) - Method in class com.brein.api.BreinBase
Sets the BreinUser instance for the request.
setUser(String, Object) - Method in class com.brein.api.BreinBase
Sets a specific data point for the user data of the request, i.e.:
SHAPE_TYPES_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
shutdown() - Method in class com.brein.api.Brein
Shutdown Breinify services
shutdown() - Static method in class com.brein.api.Breinify
 
SIGNATURE_FIELD - Static variable in class com.brein.api.BreinBase
 
SIGNATURE_TYPE_FIELD - Static variable in class com.brein.api.BreinBase
 
STATE_TEXT_FIELD - Static variable in class com.brein.api.BreinTemporalData
 

T

TAGS_FIELD - Static variable in class com.brein.api.BreinActivity
 
temporalData(BreinTemporalData) - Method in class com.brein.api.Brein
Sends a temporalData to the engine utilizing the API.
temporalData() - Static method in class com.brein.api.Breinify
Method to retrieve temporal information based on temporal data.
temporalData(String) - Static method in class com.brein.api.Breinify
Method to retrieve temporal information based on temporal data.
temporalData(double, double, String...) - Static method in class com.brein.api.Breinify
Method to retrieve temporal information based on temporal data.
temporalData(BreinTemporalData) - Static method in class com.brein.api.Breinify
Method to retrieve temporal information based on temporal data.
terminate() - Method in class com.brein.engine.BreinEngine
 
terminate() - Method in class com.brein.engine.DummyRestEngine
stops possible functionality (e.g.
terminate() - Method in interface com.brein.engine.IRestEngine
terminates the rest engine
terminate() - Method in class com.brein.engine.JerseyRestEngine
 
terminate() - Method in class com.brein.engine.UniRestEngine
used to stop the UNIREST threads
TEXT_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
TIMEZONE_FIELD - Static variable in class com.brein.api.BreinTemporalData
 
toString() - Method in class com.brein.api.BreinBase
 
toString() - Method in class com.brein.domain.BreinResult
 
toString() - Method in class com.brein.domain.BreinUser
provides a nicer output of the user details
toString() - Method in class com.brein.domain.results.BreinTemporalDataResult
 
toString() - Method in class com.brein.domain.results.temporaldataparts.BreinWeatherResult
 
toString() - Method in class com.brein.domain.results.temporaldataparts.GeoCoordinates
 
toString() - Method in class com.brein.util.M
 

U

UniRestEngine - Class in com.brein.engine
Unirest Implementation
UniRestEngine() - Constructor for class com.brein.engine.UniRestEngine
 
UNIX_TIMESTAMP_FIELD - Static variable in class com.brein.api.BreinBase
 
URL_IS_MALFORMED - Static variable in exception com.brein.api.BreinException
 
URL_IS_NULL - Static variable in exception com.brein.api.BreinException
 
USER_FIELD - Static variable in class com.brein.domain.BreinUser
 
USER_NOT_SET - Static variable in exception com.brein.api.BreinException
 

V

validate(BreinConfig, BreinBase) - Method in interface com.brein.engine.IRestEngine
 
VALIDATE_ACTIVITY_OR_CONFIG_FAILED - Static variable in exception com.brein.api.BreinException
 
validateBreinBase(BreinBase) - Method in interface com.brein.engine.IRestEngine
validates the activity object
validateConfig(BreinConfig) - Method in interface com.brein.engine.IRestEngine
validates the configuration object
validateUrl(String) - Method in interface com.brein.engine.IRestEngine
checks if the url is valid.
valueOf(String) - Static method in enum com.brein.api.BreinActivity.ActivityField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.api.BreinBase.BaseField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.domain.BreinUser.UserField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.domain.results.temporaldataparts.BreinEventResult.EventCategory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.domain.results.temporaldataparts.BreinHolidayResult.HolidaySource
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.domain.results.temporaldataparts.BreinHolidayResult.HolidayType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.domain.results.temporaldataparts.PrecipitationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.brein.engine.BreinEngineType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.brein.api.BreinActivity.ActivityField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.api.BreinBase.BaseField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.domain.BreinUser.UserField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.domain.results.temporaldataparts.BreinEventResult.EventCategory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.domain.results.temporaldataparts.BreinHolidayResult.HolidaySource
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.domain.results.temporaldataparts.BreinHolidayResult.HolidayType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.domain.results.temporaldataparts.PrecipitationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.brein.engine.BreinEngineType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L M O P R S T U V 
Skip navigation links

Copyright © Breinify - All Rights Reserved.