Package com.walkfares.odsl.curve
Class CurveExpression
java.lang.Object
com.walkfares.odsl.curve.CurveExpression
- All Implemented Interfaces:
EventCurveBuilder
,SmartCurveBuilder
,SmartCurveDatesBuilder
,ProcessListener
public class CurveExpression extends Object implements SmartCurveBuilder, EventCurveBuilder, SmartCurveDatesBuilder, ProcessListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.walkfares.odsl.var.curve.SmartCurveBuilder
SmartCurveBuilder.SmartCurveBuildMethod
-
Constructor Summary
Constructors Constructor Description CurveExpression()
-
Method Summary
Modifier and Type Method Description VarCurve
createCurve(String id, VarEventCurve events, OpenDSLContext context)
VarCurve
createCurve(String id, VarSmartCurve formula, OpenDSLContext context, UTCDate ondate, SmartCurveBuilder.SmartCurveBuildMethod method)
VarTimeSeries
createTenorTimeSeries(VarEventCurve events, OpenDSLContext context, String tenor, String range, boolean includeData)
void
endPhase(String name, String status, String mess)
void
endProcess(String status, String mess)
VarCurveDates
getCurveDates(VarEventCurve events, OpenDSLContext context, String filter)
VarCurveDates
getCurveDates(VarSmartCurve formula, OpenDSLContext context)
void
logMessage(String lm)
void
reschedule(long time)
void
retry(String name, int retries)
void
startPhase(String name)
void
startProcess()
void
waitForRetry(String phase, String waitime, int retries)
-
Constructor Details
-
CurveExpression
public CurveExpression()
-
-
Method Details
-
createCurve
public VarCurve createCurve(String id, VarSmartCurve formula, OpenDSLContext context, UTCDate ondate, SmartCurveBuilder.SmartCurveBuildMethod method)- Specified by:
createCurve
in interfaceSmartCurveBuilder
-
createCurve
- Specified by:
createCurve
in interfaceEventCurveBuilder
-
getCurveDates
- Specified by:
getCurveDates
in interfaceEventCurveBuilder
-
createTenorTimeSeries
public VarTimeSeries createTenorTimeSeries(VarEventCurve events, OpenDSLContext context, String tenor, String range, boolean includeData)- Specified by:
createTenorTimeSeries
in interfaceEventCurveBuilder
-
getCurveDates
- Specified by:
getCurveDates
in interfaceSmartCurveDatesBuilder
-
startProcess
public void startProcess() -
endProcess
-
startPhase
- Specified by:
startPhase
in interfaceProcessListener
-
endPhase
- Specified by:
endPhase
in interfaceProcessListener
-
logMessage
- Specified by:
logMessage
in interfaceProcessListener
-
waitForRetry
- Specified by:
waitForRetry
in interfaceProcessListener
-
retry
- Specified by:
retry
in interfaceProcessListener
-
reschedule
public void reschedule(long time)- Specified by:
reschedule
in interfaceProcessListener
-