|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface of a risk control.
| Field Summary | |
static int |
ERROR
Indiacates that an error occured. |
static int |
HIGH_RISK
high risk level |
static int |
LOW_RISK
low risk level |
static int |
MEDIUM_RISK
medium risk level |
| Method Summary | |
float |
calculateRisk(ExtendedOrder eo)
Calculates the risk addition of an order according to its riskiness. |
int |
getCurrentRiskLevel()
Returns the current risk level. |
| Field Detail |
public static final int LOW_RISK
public static final int MEDIUM_RISK
public static final int HIGH_RISK
public static final int ERROR
| Method Detail |
public float calculateRisk(ExtendedOrder eo)
eo - order to calculate the risk addition for
public int getCurrentRiskLevel()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||