org.drools.ide.common.server.util
Interface GuidedDTDRLOtherwiseHelper.OtherwiseBuilder
- All Known Implementing Classes:
- GuidedDTDRLOtherwiseHelper.EqualsOtherwiseBuilder, GuidedDTDRLOtherwiseHelper.NotEqualsOtherwiseBuilder
- Enclosing class:
- GuidedDTDRLOtherwiseHelper
public static interface GuidedDTDRLOtherwiseHelper.OtherwiseBuilder
Interface defining a factory method to build a FieldConstraint
makeFieldConstraint
FieldConstraint makeFieldConstraint(ConditionCol c,
List<DTColumnConfig> allColumns,
List<List<DTCellValue>> data)
- Build a Field Constraint
- Parameters:
c - Condition Column that contains the "Otherwise" cellallColumns - All Decision Table columns. Decision Tables have an
implied "and" between multiple SingleFieldConstraints for
the same Fact field. OtherwiseBuilders for less-than,
greater-than etc need access to other Condition Columns
bound to the same Fact and Field to construct a
CompositeFieldConstraint.data - Decision Table values
- Returns:
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.