org.eclipse.incquery.runtime.api

## Interface IMatchProcessor<Match extends IPatternMatch>

- All Known Implementing Classes:
    ActionContextProcessor, ActionInputProcessor, ActionOutputProcessor, ActivityEdgeInGroupProcessor, ActivityGroupContainedEdgeProcessor, ActivityGroupContainedNodeProcessor, ActivityGroupInActivityProcessor, ActivityGroupProcessor, ActivityGroupSubgroupProcessor, ActivityGroupSuperGroupProcessor, ActivityNodeActivityProcessor, ActivityNodeInGroupProcessor, ActivityNodeProcessor, AssociationEndTypeProcessor, BehaviorContextProcessor, ChildrenProcessor, ClassExtensionProcessor, ClassifierAllParentsProcessor, ClassifierAttributeProcessor, ClassifierFeatureProcessor, ClassifierGeneralProcessor, ClassifierParentsProcessor, ClassSuperClassProcessor, ConnectableElementEndProcessor, ConnectorKindProcessor, DeploymentTargetDeployedElementProcessor, DirectedRelationshipSourceProcessor, DirectedRelationshipTargetProcessor, ElementOwnedElementProcessor, ElementOwnerProcessor, EmptyTraceProcessor, EncapsulatedClassifierOwnedPortProcessor, ExtensionMetaclassEndProcessor, ExtensionMetaclassProcessor, FeatureFeaturingClassifierProcessor, GenericMatchProcessor, MatchAppearanceJob, MatchDisappearanceJob, MatchUpdateJob, MessageMessageKindProcessor, NamedElementClientDependencyProcessor, NamedElementNamespaceProcessor, NamedElementQualifiedNameProcessor, NamespaceImportedMemberProcessor, NamespaceMemberProcessor, NamespaceOwnedMemberProcessor, OpaqueExpressionResultProcessor, OperationReturnResultProcessor, PackageNestedPackageProcessor, PackageNestingPackageProcessor, PackageOwnedStereotypeProcessor, PackageOwnedTypeProcessor, PackageVisibleMemberProcessor, Param2containmentProcessor, Param2edgeProcessor, Param2itemProcessor, Param2targetProcessor, PropertyIsCompositeProcessor, ProtocolTransitionReferredProcessor, RedefinableElementRedefinedElementProcessor, RedefinableElementRedefinitionContextProcessor, RedefinableTemplateSignatureInheritedParameterProcessor, RelationshipRelatedElementProcessor, StateIsCompositeProcessor, StateIsOrthogonalProcessor, StructuredClassifierPartProcessor, StructuredClassifierRoleProcessor, Trace2objectProcessor, Trace2paramProcessor, Trace2targetProcessor, TraceProcessor, TypePackageProcessor, VertexIncomingProcessor, VertexOutgoingProcessor, ViolationCreationProcessor

      public interface IMatchProcessor<Match extends IPatternMatch>

  A "lambda" action that can be executed on each match of a pattern.

  Clients can manually implement process() in an (anonymous) class, or alternatively, extend either `GenericMatchProcessor` or the user-friendly pattern-specific generated match processor classes.

  Author:
    Bergmann Gábor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `process(Match match)` Defines the action that is to be executed on each match.

- - ### Method Detail

    - #### process

          void process(Match match)

      Defines the action that is to be executed on each match.
      Parameters:
        `match` - a single match of the pattern that must be processed by the implementation of this method