- 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
-
- 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
-
retrieves the endpoint.
- 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
-
return the GSON builder instance
- getHolidays() - Method in class com.brein.domain.results.BreinTemporalDataResult
-
- getIpAddress() - Method in class com.brein.api.BreinBase
-
gets the ipAddress
- 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
-
- 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 timestamp
- getUrl() - Method in class com.brein.domain.BreinConfig
-
- getUser() - Method in class com.brein.api.BreinBase
-
retrieves the breinuser
- 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
- 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.