use of org.eclipse.winery.model.tosca.TImplementation in project winery by eclipse.
the class ToCanonical method convert.
private TImplementation convert(YTImplementation node) {
if (Objects.isNull(node)) {
return null;
}
TImplementation def = new TImplementation();
def.setPrimary(node.getPrimaryArtifactName());
def.setDependencies(node.getDependencyArtifactNames());
def.setTimeout(node.getTimeout());
def.setOperationHost(node.getOperationHost());
return def;
}
Aggregations