org.drools.guvnor.server.selector
Class RuleBasedSelector

java.lang.Object
  extended by org.drools.guvnor.server.selector.RuleBasedSelector
All Implemented Interfaces:
AssetSelector

public class RuleBasedSelector
extends Object
implements AssetSelector

This uses rules to decide if an asset is to be included in a build.


Constructor Summary
RuleBasedSelector(String val)
           
 
Method Summary
 boolean isAssetAllowed(AssetItem asset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBasedSelector

public RuleBasedSelector(String val)
Method Detail

isAssetAllowed

public boolean isAssetAllowed(AssetItem asset)
Specified by:
isAssetAllowed in interface AssetSelector
Parameters:
asset - The asset to be tested.
Returns:
true if asset it allowed.


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