Class DispatcherTablesBuilder
- java.lang.Object
-
- org.openl.rules.validation.properties.dimentional.DispatcherTablesBuilder
-
public class DispatcherTablesBuilder extends Object
Builds dispatcher decision table for eachMatchingOpenMethodDispatcherin ModuleOpenClass.- Author:
- DLiauchuk
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_DISPATCHER_TABLE_NAME
-
Constructor Summary
Constructors Constructor Description DispatcherTablesBuilder(XlsModuleOpenClass moduleOpenClass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild()Builds dispatcher tables for every group of overloaded methods.voidbuild(MatchingOpenMethodDispatcher dispatcher)static booleanisDispatcherTable(TableSyntaxNode tsn)Checks whether the specified TableSyntaxNode is auto generated gap/overlap table or not.
-
-
-
Field Detail
-
DEFAULT_DISPATCHER_TABLE_NAME
public static final String DEFAULT_DISPATCHER_TABLE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DispatcherTablesBuilder
public DispatcherTablesBuilder(XlsModuleOpenClass moduleOpenClass)
-
-
Method Detail
-
isDispatcherTable
public static boolean isDispatcherTable(TableSyntaxNode tsn)
Checks whether the specified TableSyntaxNode is auto generated gap/overlap table or not.- Parameters:
tsn- TableSyntaxNode to check.- Returns:
trueif table is dispatcher table.
-
build
public void build()
Builds dispatcher tables for every group of overloaded methods. As a result newTableSyntaxNodeobjects appears in module.
-
build
public void build(MatchingOpenMethodDispatcher dispatcher)
-
-