BehaviorGuardEvaluator
classes containing a method to evaluate the guard of a given behavior (on clause in SARL behavior).
This class is thread-safe.
Two types of listeners are supported:
Modifier and type | Property and description |
---|---|
java.util.concurrent.ConcurrentMap<K,V> | internalDataStructureForRegisteredListeners Replies the internal data structure for the registered listeners. |
protected org.eclipse.xtext.xbase.lib.Functions.Function2<P1,P2,Result> | internalEvaluatorFilterForRegisteredListeners Replies the filtering of evaluator. |
protected org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result> | internalEvaluatorMapperForRegisteredListeners Replies the mapper from the internal guard evaluator description of register listeners to the public description. |
Modifier and type | Action and description |
---|---|
ConcurrentCollection<T> | getBehaviorGuardEvaluatorsForRegisteredListeners(Event) |
abstract java.util.concurrent.ConcurrentMap<K,V> | getInternalDataStructureForRegisteredListeners Replies the internal data structure for the registered listeners. |
protected abstract org.eclipse.xtext.xbase.lib.Functions.Function2<P1,P2,Result> | getInternalEvaluatorFilterForRegisteredListeners Replies the filtering of evaluator. |
protected org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result> | getInternalEvaluatorMapperForDirectAccessListeners(Object) Replies the mapper from the internal guard evaluator description of direct-access listeners to the public description. |
protected abstract org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result> | getInternalEvaluatorMapperForRegisteredListeners Replies the mapper from the internal guard evaluator description of register listeners to the public description. |
ConcurrentSet<T> | getRegisteredEventListeners(Class<T>) |
int | getRegisteredEventListeners(Class<T>,Set<E>) |
boolean | hasRegisteredEventListener(Class<T>) |
void | unregister(Class<T>,Function1<Param,Result>) |
void | unregisterAll(Function1<Param,Result>) |
val internalDataStructureForRegisteredListeners : java.util.concurrent.ConcurrentMap<K,V>
This property is an alias for the action: getInternalDataStructureForRegisteredListeners
protected val internalEvaluatorFilterForRegisteredListeners : org.eclipse.xtext.xbase.lib.Functions.Function2<P1,P2,Result>
This property is an alias for the action: getInternalEvaluatorFilterForRegisteredListeners
protected val internalEvaluatorMapperForRegisteredListeners : org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result>
This property is an alias for the action: getInternalEvaluatorMapperForRegisteredListeners
protected val factories : Factories
new(Provider<T>)
def getBehaviorGuardEvaluatorsForRegisteredListeners(Event) : ConcurrentCollection<T>
def getInternalDataStructureForRegisteredListeners : java.util.concurrent.ConcurrentMap<K,V>
protected def getInternalEvaluatorFilterForRegisteredListeners : org.eclipse.xtext.xbase.lib.Functions.Function2<P1,P2,Result>
protected def getInternalEvaluatorMapperForDirectAccessListeners(Object) : org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result>
protected def getInternalEvaluatorMapperForRegisteredListeners : org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result>
def getRegisteredEventListeners(Class<T>) : ConcurrentSet<T>with TT
def getRegisteredEventListeners(Class<T>,Set<E>) : intwith TT
def hasRegisteredEventListener(Class<T>) : boolean
def unregister(Class<T>,Function1<Param,Result>)
def unregisterAll(Function1<Param,Result>)