io.sarl.lang.core.annotation
Annotation PerceptGuardEvaluator
All Superinterfaces:
java.lang.annotation.Annotation
@java.lang.annotation.Retention(RUNTIME)
@java.lang.annotation.Target(METHOD)
abstract annotation PerceptGuardEvaluator
implements java.lang.annotation.Annotation
Annotation for marking the functions that decides if the agent internal event dispatcher may execute the corresponding behavior (on clause) to process the incoming event.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Action Summary
Modifier and type Action and description
abstract java.lang.Class<T> typeParameters
Replies the type parameters upper bounds that is supported by the associated method.
Action Details
typeParameters
def typeParameters : java.lang.Class<T>
Replies the type parameters upper bounds that is supported by the associated method. It should be defined when the associated received event is a generic event. Then, the caller of the associated function could use the type parameters to determine if the function should be called for treated the received event.
Returns:
the bounds of the type parameters.
Since:
0.14