public class MappedTriggerRegistry extends Object implements TriggerRegistry
| Constructor and Description |
|---|
MappedTriggerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
List<JGrapeTrigger<?>> |
getRegistredTriggers(Class<?> clazz)
Get the list of registered JGrapeTriggers for the specified class.
|
void |
setTriggerMap(Map<Class<?>,List<JGrapeTrigger<?>>> triggerMap)
Set the trigger map.
|
String |
toString() |
public List<JGrapeTrigger<?>> getRegistredTriggers(Class<?> clazz)
TriggerRegistrygetRegistredTriggers in interface TriggerRegistryclazz - the class to get triggers for.null if no triggers are
registered on this TriggerRegistry.public void setTriggerMap(Map<Class<?>,List<JGrapeTrigger<?>>> triggerMap)
java.lang.Class to
a java.util.List of JGrapeTriggers to be used for that
class.triggerMap - the map from java.lang.Class to a list of
JGrapeTriggers.IllegalArgumentException - if the specified trigger map is
null.Copyright © 2006–2018 Esito AS. All rights reserved.