Package com.orchestranetworks.addon.dex
Class CSVExportDataExchangeHelperContext
java.lang.Object
com.orchestranetworks.addon.dex.CSVExportDataExchangeHelperContext
- All Implemented Interfaces:
DataExchangeHelperContext
public final class CSVExportDataExchangeHelperContext
extends Object
implements DataExchangeHelperContext
Provides the context to get the
DataExchangeSpec
for exporting CSV from the configuration declared in the {addon.label} dataset.- Since:
- 2.7.0
-
Constructor Summary
ConstructorDescriptionCSVExportDataExchangeHelperContext
(String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) Creates a newCSVExportDataExchangeHelperContext
using the preference name. -
Method Summary
Modifier and TypeMethodDescriptioncom.onwbp.adaptation.Adaptation
Returns the current dataset.com.onwbp.adaptation.AdaptationTable
Returns the current table.Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset.Returns the specified service type.com.orchestranetworks.service.Session
Returns the current session.
-
Constructor Details
-
CSVExportDataExchangeHelperContext
public CSVExportDataExchangeHelperContext(String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) Creates a newCSVExportDataExchangeHelperContext
using the preference name.- Parameters:
preferenceName
- the preference name is declared in Name field of the Application interface preference table in the {addon.label} dataset.currentTable
- the current table.session
- the current session.
-
-
Method Details
-
getCurrentDataset
public com.onwbp.adaptation.Adaptation getCurrentDataset()Returns the current dataset.- Specified by:
getCurrentDataset
in interfaceDataExchangeHelperContext
-
getCurrentTable
public com.onwbp.adaptation.AdaptationTable getCurrentTable()Returns the current table.- Specified by:
getCurrentTable
in interfaceDataExchangeHelperContext
-
getSession
public com.orchestranetworks.service.Session getSession()Returns the current session.- Specified by:
getSession
in interfaceDataExchangeHelperContext
-
getServiceType
Returns the specified service type.- Specified by:
getServiceType
in interfaceDataExchangeHelperContext
-
getPreferenceName
Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset.
-