|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectceleboss.bot.RobotManager
This class managers the various robots that are deployed with any
CelebOSS instance.
This class will scan the ROBOT_DIR directory to locate any robot
traders. Each robot trader has a dedicated subdirectory in this place.
Each foudn directory is assumed to contain a complete robot trader, it must
contain a file called CONFIG_FILE which describes the details
of the robot. These details include a name, icon, class path and main class to
execute. The main class must implement the RobotTrader interface.
RobotTrader| Field Summary | |
static java.lang.String |
CONFIG_FILE
The file that each robot directory must contain to describe the configuration |
static java.lang.String |
ROBOT_DIR
Sub-directory used to hold robots traders |
| Method Summary | |
java.util.Collection |
getAction(Portfolio portfolio)
Get a list of actions that can be used to trigger the creation of a robot for a specific Portfolio. |
static RobotManager |
getInstance()
Get the singleton instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String ROBOT_DIR
| Method Detail |
public static RobotManager getInstance()
public java.util.Collection getAction(Portfolio portfolio)
portfolio - Target portfolio
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||