org.drools.guvnor.server.standalonededitor
Class BRLRuleAssetProvider

java.lang.Object
  extended by org.drools.guvnor.server.standalonededitor.BRLRuleAssetProvider
All Implemented Interfaces:
RuleAssetProvider

public class BRLRuleAssetProvider
extends Object
implements RuleAssetProvider

BRL -> RuleAsset converter used by standalone editor. For each brl provided, a new RuleAsset is created. The name of the RuleAsset will be the name present in the brl concatenated with a unique number.


Constructor Summary
BRLRuleAssetProvider(String packageName, String[] initialBRLs)
           
 
Method Summary
 RuleAsset[] getRuleAssets()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BRLRuleAssetProvider

public BRLRuleAssetProvider(String packageName,
                            String[] initialBRLs)
Method Detail

getRuleAssets

public RuleAsset[] getRuleAssets()
                          throws DetailedSerializationException
Specified by:
getRuleAssets in interface RuleAssetProvider
Throws:
DetailedSerializationException


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