BehaviorGuardEvaluator
classes containing a method to evaluate the guard of a given behavior (on clause in SARL behavior).
This class is thread-safe.
Modifier and type | Property and description |
---|---|
java.util.concurrent.ConcurrentMap<K,V> | internalDataStructureForDirectAccessListeners Replies the internal data structure for the direct-access listeners. |
java.util.concurrent.ConcurrentMap<K,V> | internalDataStructureForRegisteredListeners |
protected org.eclipse.xtext.xbase.lib.Functions.Function2<P1,P2,Result> | internalEvaluatorFilterForRegisteredListeners |
protected org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result> | internalEvaluatorMapperForRegisteredListeners |
Modifier and type | Type and description |
---|---|
protected class | ReflectBehaviorGuardEvaluatorRegistry.Evaluator Description of an single guard evaluator. |
Constructor and description |
---|
new(Provider<T>) Instanciates a new registry linked with the PerceptGuardEvaluator annotation. |
Modifier and type | Action and description |
---|---|
protected java.util.concurrent.ConcurrentMap<K,V> | buildDirectAccessGuardEvaluators(Class<T>) Build the list of the event handlers for a direct access to a listener. |
ConcurrentCollection<T> | getBehaviorGuardEvaluatorsForDirectAccessListener(Event,Object) |
java.util.concurrent.ConcurrentMap<K,V> | getInternalDataStructureForDirectAccessListeners Replies the internal data structure for the direct-access listeners. |
java.util.concurrent.ConcurrentMap<K,V> | getInternalDataStructureForRegisteredListeners |
protected org.eclipse.xtext.xbase.lib.Functions.Function2<P1,P2,Result> | getInternalEvaluatorFilterForRegisteredListeners |
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 org.eclipse.xtext.xbase.lib.Functions.Function1<Param,Result> | getInternalEvaluatorMapperForRegisteredListeners |
void | register(Object,Function1<Param,Result>,[Procedure1<Param>]) |
void | unregister(Object,Procedure1<Param>) |
val internalDataStructureForDirectAccessListeners : java.util.concurrent.ConcurrentMap<K,V>
This property is an alias for the action: getInternalDataStructureForDirectAccessListeners
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
new(Provider<T>)
protected def buildDirectAccessGuardEvaluators(Class<T>) : java.util.concurrent.ConcurrentMap<K,V>
def getBehaviorGuardEvaluatorsForDirectAccessListener(Event,Object) : ConcurrentCollection<T>
def getInternalDataStructureForDirectAccessListeners : java.util.concurrent.ConcurrentMap<K,V>
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 register(Object,Function1<Param,Result>,[Procedure1<Param>])
def unregister(Object,Procedure1<Param>)