Package com.hello2morrow.sonargraph.api
Interface IDependencyAccess
- All Superinterfaces:
IElementAccess
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
int
Counts all issues for this element.int
getIssueCount
(List<String> categories, List<String> issueIds, List<String> providers, List<String> severities) Counts issues for this element for the given filter parameters.Collect all issues for this element.getIssues
(List<String> categories, List<String> issueIds, List<String> providers, List<String> severities) Collect issues for the given filter parameters.int
getTo()
boolean
Methods inherited from interface com.hello2morrow.sonargraph.api.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Method Details
-
getFrom
IProgrammingElementAccess getFrom() -
getTo
IProgrammingElementAccess getTo() -
isCompileTimeDependency
boolean isCompileTimeDependency() -
getDependencyKind
IDependencyKind getDependencyKind() -
getGenericDependencyKind
DependencyKind getGenericDependencyKind() -
getLineNumber
int getLineNumber() -
getIssueCount
int getIssueCount()Counts all issues for this element.- Returns:
- Number of issues
-
getIssueCount
int getIssueCount(List<String> categories, List<String> issueIds, List<String> providers, List<String> severities) Counts issues for this element for the given filter parameters.- Parameters:
categories
- Issue categories (null or empty list means 'all')issueIds
- Issue Id's (null or empty list means 'all')providers
- Issue providers (null or empty list means 'all')severities
- Issue severities (null or empty list means 'all')- Returns:
- Number of issues matching the filter criteria
-
getIssues
List<IIssueAccess> getIssues()Collect all issues for this element.- Returns:
- The issues
-
getIssues
List<IIssueAccess> getIssues(List<String> categories, List<String> issueIds, List<String> providers, List<String> severities) Collect issues for the given filter parameters.- Parameters:
categories
- Issue categories (null or empty list means 'all')issueIds
- Issue Id's (null or empty list means 'all')providers
- Issue providers (null or empty list means 'all')severities
- Issue severities null or (empty list means 'all')- Returns:
- The issues
-