Package com.tngtech.archunit.lang
Interface ConditionEvent.Handler
-
- Enclosing interface:
- ConditionEvent
public static interface ConditionEvent.HandlerHandles the data of aConditionEventthat is the corresponding objects and the description (compareConditionEvent.handleWith(Handler)).
As an example, this could be a single element of typeJavaMethodCalltogether 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 voidhandle(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
-
-