Class CalendarConfiguration
java.lang.Object
com.caplin.motif.fx.ret.calendar.config.CalendarConfiguration
This is the interface used to configure a new
CalendarAdapter
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the AdapterConfigurationManagerReturns the ConfigurationLoadercom.caplin.datasource.DataSource
Returns the DataSourceReturns the CalendarDateTransformerReturns the InstrumentProvidercom.caplin.motif.datasource.SubjectParser<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>
Returns the settlementDateSubjectInfoParsercom.caplin.motif.datasource.SubjectParser<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>
Returns the tenorSubjectInfoParserReturns the UserManagerstatic CalendarConfigurationBuilder
Returns a CalendarConfigurationBuilder which is ready to be used to instantiate aCalendarAdapter
.
-
Method Details
-
newConfigurationBuilder
public static CalendarConfigurationBuilder newConfigurationBuilder() throws ConfigurationLoaderExceptionReturns a CalendarConfigurationBuilder which is ready to be used to instantiate aCalendarAdapter
.- Returns:
- a new CalendarConfigurationBuilder
- Throws:
ConfigurationLoaderException
-
getDataTransformer
Returns the CalendarDateTransformer -
getAdapterConfigurationManager
Returns the AdapterConfigurationManager- Returns:
- the AdapterConfigurationManager
-
getDataSource
public com.caplin.datasource.DataSource getDataSource()Returns the DataSource- Returns:
- the DataSource
-
getConfigurationLoader
Returns the ConfigurationLoader- Returns:
- the ConfigurationLoader
-
getInstrumentProvider
Returns the InstrumentProvider- Returns:
- the InstrumentProvider
-
getUserManager
Returns the UserManager- Returns:
- the UserManager
-
getTenorDateSubjectInfoSubjectParser
public com.caplin.motif.datasource.SubjectParser<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo> getTenorDateSubjectInfoSubjectParser()Returns the tenorSubjectInfoParser- Returns:
- the tenorSubjectInfoParser
-
getSettlementDateSubjectInfoParser
public com.caplin.motif.datasource.SubjectParser<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo> getSettlementDateSubjectInfoParser()Returns the settlementDateSubjectInfoParser- Returns:
- the settlementDateSubjectInfoParser
-