org.drools.ide.common.server.util.upgrade
Class GuidedDecisionTableUpgradeHelper2

java.lang.Object
  extended by org.drools.ide.common.server.util.upgrade.GuidedDecisionTableUpgradeHelper2
All Implemented Interfaces:
IUpgradeHelper<GuidedDecisionTable52,GuidedDecisionTable52>

public class GuidedDecisionTableUpgradeHelper2
extends Object
implements IUpgradeHelper<GuidedDecisionTable52,GuidedDecisionTable52>

Helper class to upgrade data-types for Guided Decision Table. This implementation ensures the RowNumber, Salience and Duration columns have data of the correct data-type. Support for this was added for Guvnor v5.4.


Constructor Summary
GuidedDecisionTableUpgradeHelper2()
           
 
Method Summary
 GuidedDecisionTable52 upgrade(GuidedDecisionTable52 source)
          Convert the data-types in the Decision Table model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuidedDecisionTableUpgradeHelper2

public GuidedDecisionTableUpgradeHelper2()
Method Detail

upgrade

public GuidedDecisionTable52 upgrade(GuidedDecisionTable52 source)
Convert the data-types in the Decision Table model

Specified by:
upgrade in interface IUpgradeHelper<GuidedDecisionTable52,GuidedDecisionTable52>
Parameters:
legacyDTModel -
Returns:
The new DTModel


Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.