EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.execution
Interface IPatternExecutionReporter


public interface IPatternExecutionReporter

Classes which implement this interface provide a method
that deals with the event that is generated when a pattern execution is finished.
Implementors must provide a default constructor.


Method Summary
 void patternExecutionFinished(String output_p, String patternFullId_p, org.eclipse.egf.core.context.ProductionContext context_p)
          Sent when a pattern overall execution has just finished.
 void patternLoopExecutionFinished(String output_p, String patternFullId_p, org.eclipse.egf.core.context.ProductionContext context_p, Map<String,EObject> tuple_p)
          Sent when a pattern loop execution is finished.
 

Method Detail

patternExecutionFinished

void patternExecutionFinished(String output_p,
                              String patternFullId_p,
                              org.eclipse.egf.core.context.ProductionContext context_p)
Sent when a pattern overall execution has just finished.

Parameters:
patternFullId_p - the full identifier of the pattern that the execution is finished for.
output_p - the output resulting from the pattern execution.

patternLoopExecutionFinished

void patternLoopExecutionFinished(String output_p,
                                  String patternFullId_p,
                                  org.eclipse.egf.core.context.ProductionContext context_p,
                                  Map<String,EObject> tuple_p)
Sent when a pattern loop execution is finished.

Parameters:
output_p - The loop output.
patternFullId_p - The full id of the pattern that declares the loop.
context_p - The production context of the pattern execution.
tuple_p - The contextual loop tuple. This object should not be kept by the implementor for it is used for every possible tuple values.

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.