public final class EBXTransferTemplateSpec extends TemplateSpec
| Constructor and Description |
|---|
EBXTransferTemplateSpec(String templateId,
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.
|
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, getTemplateIdpublic EBXTransferTemplateSpec(String templateId, com.orchestranetworks.service.Session session)
templateId - The unique template id.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)