org.drools.guvnor.server.selector
Class RuleBasedSelector
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleBasedSelector
public RuleBasedSelector(String val)
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.