|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.ide.common.server.util.upgrade.GuidedDecisionTableUpgradeHelper1
public class GuidedDecisionTableUpgradeHelper1
Helper class to upgrade model used for Guided Decision Table. This implementation converts legacy GuidedDecisionTable objects to GuidedDecisionTable52 objects used from Guvnor 5.2 onwards.
| Constructor Summary | |
|---|---|
GuidedDecisionTableUpgradeHelper1()
|
|
| Method Summary | |
|---|---|
List<List<DTCellValue52>> |
makeDataLists(Object[][] oldData)
Convert a two-dimensional array of Strings to a List of Lists, with type-safe individual entries |
List<DTCellValue52> |
makeDataRowList(Object[] oldRow)
Convert a single dimension array of Strings to a List with type-safe entries. |
GuidedDecisionTable52 |
upgrade(GuidedDecisionTable legacyDTModel)
Convert the legacy Decision Table model to the new |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GuidedDecisionTableUpgradeHelper1()
| Method Detail |
|---|
public GuidedDecisionTable52 upgrade(GuidedDecisionTable legacyDTModel)
upgrade in interface IUpgradeHelper<GuidedDecisionTable52,GuidedDecisionTable>legacyDTModel -
public List<List<DTCellValue52>> makeDataLists(Object[][] oldData)
oldData -
public List<DTCellValue52> makeDataRowList(Object[] oldRow)
oldRow -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||