This class takes a list of properties in form key=value and propagates this list to all commands in a given reaction. After that this list (called context) is used to resolve the references to external values in the command. For example Commmand: turn on this x10 device x10-object = @event.object.name x10-address = @event.object.address this are resolved according to the parameters in theevent that has fired the reaction containing the command 'turn on this x10 device' in this case the event can be something like 'object receive click on the GUI' with paramenter object = Light 1 click = SINGLE_CLICK
@author Enrico Nicoletti (enrico.nicoletti84@gmail.com)resolver
. The following are the main methods that use it: Resolver
is responsible to resolve a property by retrieving either the managed type, the mapping, the type and the type declaration depending on the type of resolver. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. @version 2.5 @since 2.3 @author Pascal Filion
BelTerm expressions can be resolved to {@link KamNode} elements within aspecific {@link Kam}.
Edges in the form (subject BelTerm, Relationship, object BelTerm) can also be resolved to {@link KamEdge} elements within a specific {@link Kam}. This implementation relies on resolving both the subject and object BelTerm to {@link KamNode} elements.
@author Anthony Bargnesi {@code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|