Skip to content

Commit

Permalink
Marked loadXML() and getXML() deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio De Lorenzis committed Sep 30, 2024
1 parent 275aa86 commit bb99282
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ public IRowMeta getTableFields(IVariables variables) {
* @return String containing the XML describing this transform.
* @throws HopException in case there is an XML conversion or encoding error
*/
@Deprecated(since = "2.10.0", forRemoval = false)
public String getXml() throws HopException {
convertIOMetaToTransformNames();
return XmlMetadataUtil.serializeObjectToXml(this);
Expand All @@ -266,6 +267,7 @@ public String getXml() throws HopException {
* @param metadataProvider
* @throws HopXmlException
*/
@Deprecated(since = "2.10.0", forRemoval = false)
public void loadXml(Node transformNode, IHopMetadataProvider metadataProvider)
throws HopXmlException {
XmlMetadataUtil.deSerializeFromXml(transformNode, getClass(), this, metadataProvider);
Expand Down

0 comments on commit bb99282

Please sign in to comment.