Package com.smeup.kokos.sdk.util.legacy
Class LegacySmeupCellConverter
java.lang.Object
com.smeup.kokos.sdk.util.legacy.LegacySmeupCellConverter
- Author:
- mattia.bonardi This class allow to convert a legacy cell (string value) to a SmeupDataCellInstance. Allow to supports retrocompatibility. NB. Each attribute isn't mandatory then apply it only if it is present in the legacy attributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SmeupDataCellconvert(String legacyValue, String legacyValueOverride, LegacySmeupCellConverterArgs args) Convert a legacy value to an instance of SmeupDataCell
-
Constructor Details
-
LegacySmeupCellConverter
public LegacySmeupCellConverter()
-
-
Method Details
-
convert
public static SmeupDataCell convert(String legacyValue, String legacyValueOverride, LegacySmeupCellConverterArgs args) throws Exception Convert a legacy value to an instance of SmeupDataCell- Parameters:
legacyValue- legacy valueargs- args- Returns:
- cell
- Throws:
Exception
-