public static interface ProfileSupport.ViolationCollector
ProfileSupport.Violation
s.
For each classpath or source root a new ProfileSupport.ViolationCollector
is
created by the ProfileSupport.ViolationCollectorFactory.create(java.net.URL)
. When the validation
of the root is done the ProfileSupport.ViolationCollector.finished()
is called.
Threading: Validations of individual roots may run in parallel depending
on the Executor
throughput.Modifier and Type | Method and Description |
---|---|
void |
finished()
Called when the validation of whole a root has finished.
|
void |
reportProfileViolation(ProfileSupport.Violation violation)
Called to report a
SourceLevelQuery.Profile violation. |
void reportProfileViolation(@NonNull ProfileSupport.Violation violation)
SourceLevelQuery.Profile
violation.violation
- the ProfileSupport.Violation
to be reported.void finished()