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