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

A

AccountExecutionStatistic - Class in jayeson.model.statistics
Class that represent a fail event that is related to account.
AccountExecutionStatistic() - Constructor for class jayeson.model.statistics.AccountExecutionStatistic
 
AccountExecutionStatistic(AccountExecutionStatisticType, String) - Constructor for class jayeson.model.statistics.AccountExecutionStatistic
 
AccountExecutionStatisticType - Enum in jayeson.model.statistics
List all the steps that can be taken by an account.
addEventListener(IModelEventListener) - Method in interface jayeson.model.IModel
Add event listener.

C

config(IModelType<?>) - Method in class jayeson.model.IModelTypeRepo
 
configure() - Method in class jayeson.model.IModelModule
 
create(IModelModuleConfig, T) - Method in interface jayeson.model.IModelFactory
Create a model base on configuration of the model module.
createModel(String, T) - Method in class jayeson.model.IModelTypeRepo
 

D

deserialize(String) - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
deserializeKey(String, DeserializationContext) - Method in class jayeson.model.statistics.ModelExecutionStatisticDeserializer
 

E

equals(Object) - Method in class jayeson.model.statistics.ModelExecutionStatistic
 

F

factory(IModelType<?>) - Method in class jayeson.model.IModelTypeRepo
 
fromName(String) - Method in class jayeson.model.IModelTypeRepo
Retrieve the model type from string

G

generateModelData() - Method in interface jayeson.model.IModel
Return the string (in a specific format, normally json) that contains all the necessary data to describe the model
getConfig() - Method in class jayeson.model.IModelModule
 
getEnd() - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
getErrorMessage() - Method in class jayeson.model.event.ModelErrorEvent
 
getFactoryBinding() - Method in class jayeson.model.IModelModule
 
getLastStep() - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
getLastStepType() - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
getMessage() - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
getMessage() - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
getModelData() - Method in interface jayeson.model.IModel
Model data might be scattered into fields of the model object.
getModelData(IModelData) - Method in interface jayeson.model.IModel
In many cases, we have a model inherit from another model, hence the model data should also include the data of the parent class.
getModelDataClass() - Method in interface jayeson.model.IModel
Return the class that represent the data of this model.
getModelId() - Method in interface jayeson.model.IModel
 
getModelName() - Method in interface jayeson.model.IModel
Get the display name of the model
getRunningProgress() - Method in interface jayeson.model.IModel
Get model progress.
getSource() - Method in class jayeson.model.event.ModelEvent
 
getStart() - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
getStatsType() - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
getType() - Method in exception jayeson.model.NoFactoryDefException
 
getType() - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
getType() - Method in exception jayeson.model.UnknownOrderTypeException
 

H

hashCode() - Method in class jayeson.model.statistics.ModelExecutionStatistic
 

I

IModel - Interface in jayeson.model
This interface represents the model we use in our system An example of a model is a normal model or a playback differential model.
IModelData - Class in jayeson.model
This is the parent class of all the model data that we want to write out.
IModelData() - Constructor for class jayeson.model.IModelData
 
IModelEvent - Interface in jayeson.model.event
 
IModelEventListener - Interface in jayeson.model
Event Listener of a model should implement this interface.
IModelFactory<T> - Interface in jayeson.model
Guice Interface to create a model type
IModelListener - Interface in jayeson.model
A more detailed interface for model listener for a predefined set of events.
IModelModule - Class in jayeson.model
 
IModelModule(IModelModuleConfig) - Constructor for class jayeson.model.IModelModule
 
IModelModuleConfig - Class in jayeson.model
 
IModelModuleConfig() - Constructor for class jayeson.model.IModelModuleConfig
 
IModelType<T> - Interface in jayeson.model
Represent types of models.
IModelTypeRepo - Class in jayeson.model
Provide a way to get the model type from a string
IModelTypeRepo(Set<IModelType<?>>, Map<IModelType<?>, IModelFactory<?>>, Map<IModelType<?>, IModelModuleConfig>) - Constructor for class jayeson.model.IModelTypeRepo
 
initialize() - Method in interface jayeson.model.IModel
Since we want to load model dynamically, the constructor is not having any argument Instead, parameters needed for initialization will be set via get set function And then the initialize function will be called.
initialize() - Method in class jayeson.model.IModelModule
 

J

jayeson.model - package jayeson.model
 
jayeson.model.event - package jayeson.model.event
 
jayeson.model.statistics - package jayeson.model.statistics
 

M

modelClass() - Method in interface jayeson.model.IModelType
Return the class implements the logic of this order type
ModelErrorEvent - Class in jayeson.model.event
 
ModelErrorEvent(IModel, String) - Constructor for class jayeson.model.event.ModelErrorEvent
 
ModelEvent - Class in jayeson.model.event
Currently this class used when the model finish executing This class will be used by ModelEventProcessor.
ModelEvent(IModel) - Constructor for class jayeson.model.event.ModelEvent
 
ModelExecutionStatistic - Class in jayeson.model.statistics
Class that will represent the Type of the fail cases and the corresponding message
ModelExecutionStatistic() - Constructor for class jayeson.model.statistics.ModelExecutionStatistic
 
ModelExecutionStatistic(ModelExecutionStatisticType, String) - Constructor for class jayeson.model.statistics.ModelExecutionStatistic
 
ModelExecutionStatisticDeserializer - Class in jayeson.model.statistics
Custom KeyDeserializer, to deserialize ModelExecutionStatistic when it is used as a key in HashMap
ModelExecutionStatisticDeserializer() - Constructor for class jayeson.model.statistics.ModelExecutionStatisticDeserializer
 
ModelExecutionStatisticType - Enum in jayeson.model.statistics
List all the fail and stop cases for whitelabel model
ModelFinishedEvent - Class in jayeson.model.event
A class event that will be created when a model is completed (based on the stop condition).
ModelFinishedEvent(IModel) - Constructor for class jayeson.model.event.ModelFinishedEvent
 
ModelStartedEvent - Class in jayeson.model.event
Emitted when order successfully start
ModelStartedEvent(IModel) - Constructor for class jayeson.model.event.ModelStartedEvent
 

N

name() - Method in interface jayeson.model.IModelType
Name of the model type
NoFactoryDefException - Exception in jayeson.model
 
NoFactoryDefException(IModelType<?>, Throwable) - Constructor for exception jayeson.model.NoFactoryDefException
 

O

onAfterGetBetInfo(IModelEvent) - Method in interface jayeson.model.IModelListener
 
onAfterPlacingBet(IModelEvent) - Method in interface jayeson.model.IModelListener
 
onAfterTrigger(IModelEvent) - Method in interface jayeson.model.IModelListener
 
onBeforePlacingBet() - Method in interface jayeson.model.IModelListener
 
onBeforeSubmitActionPack(IModelEvent) - Method in interface jayeson.model.IModelListener
 
onBeforeTrigger() - Method in interface jayeson.model.IModelListener
 
onEvent(IModelEvent) - Method in interface jayeson.model.IModelEventListener
Method to handle the event emitted by a model
onModelError(IModelEvent) - Method in interface jayeson.model.IModelListener
 
onModelStart() - Method in interface jayeson.model.IModelListener
 
onModelStop(IModelEvent) - Method in interface jayeson.model.IModelListener
 
onModelTick(IModelEvent) - Method in interface jayeson.model.IModelListener
 

R

readModelData(String) - Method in interface jayeson.model.IModel
Given a string contains the model data, this function will load this data into the current model
removeEventListener(IModelEventListener) - Method in interface jayeson.model.IModel
Remove event listener

S

setConfig(IModelModuleConfig) - Method in class jayeson.model.IModelModule
 
setEnd(int) - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
setErrorMessage(String) - Method in class jayeson.model.event.ModelErrorEvent
 
setLastStep(int) - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
setMessage(String) - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
setMessage(String) - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
setSource(IModel) - Method in class jayeson.model.event.ModelEvent
 
setStart(int) - Method in class jayeson.model.statistics.AccountExecutionStatistic
 
setType(IModelType<?>) - Method in exception jayeson.model.NoFactoryDefException
 
setType(int) - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
setType(String) - Method in exception jayeson.model.UnknownOrderTypeException
 
start() - Method in interface jayeson.model.IModel
Start function is called when the model start running.
StartEvent - Class in jayeson.model.event
Deprecated.
StartEvent() - Constructor for class jayeson.model.event.StartEvent
Deprecated.
 
stop() - Method in interface jayeson.model.IModel
TO BE ADDED LATER public CompletionStage pause(); public CompletionStage resume();

T

toString() - Method in class jayeson.model.statistics.ModelExecutionStatistic
 
typeClass() - Method in interface jayeson.model.IModelType
Return the class of the type (the enum class)

U

UnknownOrderTypeException - Exception in jayeson.model
 
UnknownOrderTypeException(String, Throwable) - Constructor for exception jayeson.model.UnknownOrderTypeException
 

V

valueOf(String) - Static method in enum jayeson.model.statistics.AccountExecutionStatisticType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jayeson.model.statistics.ModelExecutionStatisticType
Returns the enum constant of this type with the specified name.
values() - Static method in enum jayeson.model.statistics.AccountExecutionStatisticType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jayeson.model.statistics.ModelExecutionStatisticType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I J M N O R S T U V 
Skip navigation links