Interface CommunicationRule<C extends CommunicationContext>


@RuleType(name="nuclos.ruletype.communicationrule.name", description="nuclos.ruletype.communicationrule.description") public interface CommunicationRule<C extends CommunicationContext>
CommunicationRule is the interface that should be used to make an rule applicable for Communication-Events.

Classes implementing this interface can be attached to communication ports. In case of executing a rule the method communicate is called.

Author:
Matthias Reichart
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    communicate(C context)
    CommunicationContext is the context providing all custom - relevant attributes and methods.
    This method describes the type of communication your rule is looking for.