public class InspectionsUsagesCollector extends ProjectUsagesCollector
| Modifier and Type | Class and Description |
|---|---|
static class |
InspectionsUsagesCollector.InspectionToolValidator |
| Constructor and Description |
|---|
InspectionsUsagesCollector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroupId() |
java.util.Set<MetricEvent> |
getMetrics(Project project)
If you need to perform long blocking operations with Read lock or on EDT,
consider using
ProjectUsagesCollector.getMetrics(Project, ProgressIndicator) along with ReadAction#nonBlocking if needed,
or override ProjectUsagesCollector.requiresReadAccess() method to wrap metrics gathering with non-blocking read action automatically. |
int |
getVersion()
Increment collector version if any changes in collector logic were implemented.
|
getData, getExtensions, getMetrics, getUsages, requiresReadAccessgetExtensions, isValidpublic java.lang.String getGroupId()
getGroupId in class FeatureUsagesCollectorpublic int getVersion()
FeatureUsagesCollectorgetVersion in class FeatureUsagesCollectorpublic java.util.Set<MetricEvent> getMetrics(Project project)
ProjectUsagesCollectorProjectUsagesCollector.getMetrics(Project, ProgressIndicator) along with ReadAction#nonBlocking if needed,
or override ProjectUsagesCollector.requiresReadAccess() method to wrap metrics gathering with non-blocking read action automatically.getMetrics in class ProjectUsagesCollector