Package org.kie.workbench.common.services.refactoring.model.index

Examples of org.kie.workbench.common.services.refactoring.model.index.Rule


                                                     new ValueTypeIndexTerm( fieldFullyQualifiedClassName ),
                                                     new ValueTypeIndexTerm( fullyQualifiedClassName ) ) );
            }
        } else if ( fixture instanceof VerifyRuleFired ) {
            final VerifyRuleFired verifyRuleFired = (VerifyRuleFired) fixture;
            builder.addGenerator( new Rule( new ValueRuleIndexTerm( verifyRuleFired.getRuleName() ) ) );
        }
    }
View Full Code Here


        }
        //Add rule names
        final String parentRuleName = model.parentName;
        for ( int i = 0; i < model.getRowsCount(); i++ ) {
            final String ruleName = model.name + "_" + i;
            builder.addGenerator( new Rule( new ValueRuleIndexTerm( ruleName ),
                                            ( parentRuleName == null ? null : new ValueRuleIndexTerm( parentRuleName ) ) ) );
        }

    }
View Full Code Here

        }
        //Add rule names
        final String parentRuleName = model.getParentName();
        for ( List<DTCellValue52> row : model.getData() ) {
            final String ruleName = "Row " + row.get( 0 ).getNumericValue().longValue() + " " + model.getTableName();
            builder.addGenerator( new Rule( new ValueRuleIndexTerm( ruleName ),
                                            ( parentRuleName == null ? null : new ValueRuleIndexTerm( parentRuleName ) ) ) );
        }
    }
View Full Code Here

TOP

Related Classes of org.kie.workbench.common.services.refactoring.model.index.Rule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.