org.drools.guvnor.server.contenthandler
Interface ICompilable

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

public interface ICompilable

This interface 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, AssemblyErrorLogger logger)
          This will be called when the asset is required to compile itself, in the context of the given builder.
 

Method Detail

compile

void compile(BRMSPackageBuilder builder,
             AssetItem asset,
             AssemblyErrorLogger 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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.