org.drools.guvnor.server.selector
Class SelectorManager

java.lang.Object
  extended by org.drools.guvnor.server.selector.SelectorManager

public class SelectorManager
extends Object


Field Summary
static String SELECTOR_CONFIG_PROPERTIES
           
 Map<String,AssetSelector> selectors
          This is a map of the selectors to use.
 
Method Summary
 String[] getCustomSelectors()
           
static SelectorManager getInstance()
           
 AssetSelector getSelector(String name)
          Return a selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELECTOR_CONFIG_PROPERTIES

public static final String SELECTOR_CONFIG_PROPERTIES
See Also:
Constant Field Values

selectors

public final Map<String,AssetSelector> selectors
This is a map of the selectors to use.

Method Detail

getSelector

public AssetSelector getSelector(String name)
Return a selector. If the name is null or empty it will return a nil/default selector (one that lets everything through). If the selector is not found, it will return null;


getCustomSelectors

public String[] getCustomSelectors()

getInstance

public static SelectorManager getInstance()


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