public final class EBXTransferTemplateSpec extends TemplateSpec<EBXSourceTable,EBXTargetTable>
| Constructor and Description |
|---|
EBXTransferTemplateSpec(String templateId,
com.orchestranetworks.service.Session session)
Constructs a new instance.
|
EBXTransferTemplateSpec(TemplateConfig<EBXSourceTable,EBXTargetTable> templateConfig,
com.orchestranetworks.service.Session session)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTargetDatasets(List<com.onwbp.adaptation.Adaptation> datasets)
Adds target datasets to overwrite those configured in the template.
|
void |
configureProcedure(java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> config)
Configures the
ProcedureContext instance when writing in EBX. |
java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> |
getProcedureConfig()
Returns the
ProcedureContext configuration or null. |
com.onwbp.adaptation.Adaptation |
getSourceDataset()
Returns the source dataset that overwrites the one configured in the template.
|
List<com.onwbp.adaptation.Adaptation> |
getTargetDatasets()
Returns the target datasets that overwrite those configured in the template.
|
void |
setSourceDataset(com.onwbp.adaptation.Adaptation dataset)
Overwrites the source dataset configured in the template.
|
getSession, getTemplateConfig, getTemplateIdpublic EBXTransferTemplateSpec(String templateId, com.orchestranetworks.service.Session session)
templateId - The unique template id.session - The session.IllegalArgumentException - If any parameter is null.public EBXTransferTemplateSpec(TemplateConfig<EBXSourceTable,EBXTargetTable> templateConfig, com.orchestranetworks.service.Session session)
templateConfig - The template configuration.session - The session.IllegalArgumentException - If any parameter is null.public void setSourceDataset(com.onwbp.adaptation.Adaptation dataset)
dataset - the dataset that overwrites the existing dataset.public com.onwbp.adaptation.Adaptation getSourceDataset()
Returns null if not set.
setSourceDataset(Adaptation)public void addTargetDatasets(List<com.onwbp.adaptation.Adaptation> datasets)
datasets - list of datasets that overwrites the existing datasets.public List<com.onwbp.adaptation.Adaptation> getTargetDatasets()
addTargetDatasets(List)public void configureProcedure(java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> config)
ProcedureContext instance when writing in EBX.Procedure.execute(ProcedureContext)public java.util.function.Consumer<com.orchestranetworks.service.ProcedureContext> getProcedureConfig()
ProcedureContext configuration or null.Procedure.execute(ProcedureContext)