|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPatternCondition
Pattern condition interface.
Defines a static condition that the pattern parameters should meet so as to select elements for pattern matching.
The parameters instances that meet this condition at runtime are selected as potential entries for the pattern matching.
Internal purpose only.
The pattern framework automatically creates a new Java class implementing this interface for each new pattern that requires
a condition between its parameters. The pattern developer is then asked to fill the generated 'check' method content for the condition
definition. The framework automatically generates the content of the check(Object...)
method, pointing to the check
method filled by the developer.
Eventually, there is to be a merge when pattern parameters have changed between existing check code and new check method signature.
Method Summary | |
---|---|
boolean |
check(Object... parameters_p)
Check that given parameters meet the pattern condition. |
void |
setContext(org.eclipse.egf.core.context.ProductionContext context_p)
Set production context available for this condition. |
Method Detail |
---|
boolean check(Object... parameters_p)
parameters_p
-
void setContext(org.eclipse.egf.core.context.ProductionContext context_p)
context_p
- the context to use as available one. null
if none.
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.