Package com.tngtech.archunit.lang
Interface ConditionEvent.Handler
-
- Enclosing interface:
- ConditionEvent
public static interface ConditionEvent.Handler
Handles the data of aConditionEvent
that is the corresponding objects and the description (compareConditionEvent.handleWith(Handler)
).
As an example, this could be a single element of typeJavaMethodCall
together with a description, like'Method A.foo() calls method B.bar() in (A.java:123)'
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(java.util.Collection<?> correspondingObjects, java.lang.String message)
-
-
-
Method Detail
-
handle
@PublicAPI(usage=ACCESS, state=EXPERIMENTAL) void handle(java.util.Collection<?> correspondingObjects, java.lang.String message)
- Parameters:
correspondingObjects
- The objects this event describes (e.g. method calls, field accesses, ...)message
- Describes the event
-
-