Package cascading.flow.planner.iso.assertion

Examples of cascading.flow.planner.iso.assertion.Asserted


    ruleRegistry.addElementFactory( NonTapFactory.TEMP_TAP, new NonTapFactory() );

    PlannerContext plannerContext = new PlannerContext( ruleRegistry, null, null, null, true );

    Asserted asserted = new RuleAssert( PlanPhase.PreResolveAssembly, ruleExpression, "message" ).assertion( plannerContext, flowElementGraph );

//    assertion.getMatched().writeDOT( getTestOutputRoot() + "/dots/assertion.dot" );

    return asserted;
    }
View Full Code Here


      ElementGraph parent = entry.getKey(); // null for root case
      List<? extends ElementGraph> children = entry.getValue();

      for( ElementGraph child : children )
        {
        Asserted asserted = rule.assertion( plannerContext, child );

        writeTrace( ruleResult, phase, (Rule) rule, parent, child, asserted );

        FlowElement primary = asserted.getFirstAnchor();

        if( primary == null )
          continue;

        throw new PlannerException( asserted.getFirstAnchor(), asserted.getMessage() );
        }
      }
    }
View Full Code Here

TOP

Related Classes of cascading.flow.planner.iso.assertion.Asserted

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.