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 BUILT_IN_SELECTOR
           
static String CUSTOM_SELECTOR
           
 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

BUILT_IN_SELECTOR

public static final String BUILT_IN_SELECTOR
See Also:
Constant Field Values

CUSTOM_SELECTOR

public static final String CUSTOM_SELECTOR
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-2012 JBoss by Red Hat. All Rights Reserved.