public class PropertyConvertor extends Object
Modifier | Constructor and Description |
---|---|
protected |
PropertyConvertor() |
Modifier and Type | Method and Description |
---|---|
fj.data.Either<ToscaNodeType,ToscaError> |
convertProperties(Component component,
ToscaNodeType toscaNodeType,
Map<String,DataTypeDefinition> dataTypes) |
ToscaProperty |
convertProperty(Map<String,DataTypeDefinition> dataTypes,
PropertyDefinition property,
boolean isCapabiltyProperty) |
Object |
convertToToscaObject(String propertyType,
String value,
String innerType,
Map<String,DataTypeDefinition> dataTypes) |
static PropertyConvertor |
getInstance() |
public static PropertyConvertor getInstance()
public fj.data.Either<ToscaNodeType,ToscaError> convertProperties(Component component, ToscaNodeType toscaNodeType, Map<String,DataTypeDefinition> dataTypes)
public ToscaProperty convertProperty(Map<String,DataTypeDefinition> dataTypes, PropertyDefinition property, boolean isCapabiltyProperty)
Copyright © 2017. All rights reserved.