@ConsumerType
public interface ViolationReporter
| Modifier and Type | Method and Description |
|---|---|
Collection<Violation> |
getReportedViolations()
Called at the end of execution to collect any detected violations.
|
default @Nullable String |
getResourceBundleBaseName()
Get the resource bundle base name for loading the default resource bundle for this violation reporter.
|
default void |
setResourceBundle(ResourceBundle resourceBundle)
Called by the framework before a scan to provide a resource bundle for immediate localization of strings.
|
@Nullable default @Nullable String getResourceBundleBaseName()
getClass().getName() by default. If this method is overridden to return null, the oakpal framework will
not attempt to load a parent resource bundle specific to this violation reporter when creating a resource bundle
during initialization.default void setResourceBundle(ResourceBundle resourceBundle)
resourceBundle - the resource bundleCollection<Violation> getReportedViolations()
Copyright © 2017–2020. All rights reserved.