org.drools.guvnor.server.contenthandler
Interface ICompilable

All Known Subinterfaces:
IRuleAsset
All Known Implementing Classes:
BPMN2ProcessHandler, BRLContentHandler, DecisionTableXLSHandler, DRLFileContentHandler, DSLRuleContentHandler, GuidedDTContentHandler, RuleFlowHandler, TemplateModelHandler

public interface ICompilable

This inferface indicates that an asset is a rule asset content type, ie not a model, dsl etc that supports package compilation.


Method Summary
 void compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
          This will be called when the asset is required to compile itself, in the context of the given builder.
 void compile(BRMSPackageBuilder builder, RuleAsset asset, ContentPackageAssembler.ErrorLogger logger)
           
 

Method Detail

compile

void compile(BRMSPackageBuilder builder,
             AssetItem asset,
             ContentPackageAssembler.ErrorLogger logger)
             throws org.drools.compiler.DroolsParserException,
                    IOException
This will be called when the asset is required to compile itself, in the context of the given builder.

Throws:
org.drools.compiler.DroolsParserException
IOException

compile

void compile(BRMSPackageBuilder builder,
             RuleAsset asset,
             ContentPackageAssembler.ErrorLogger logger)
             throws org.drools.compiler.DroolsParserException,
                    IOException
Throws:
org.drools.compiler.DroolsParserException
IOException


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.