Package com.hello2morrow.sonargraph.api
Interface IDependencyAccess
-
- All Superinterfaces:
IElementAccess
public interface IDependencyAccess extends IElementAccess
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDependencyKind
getDependencyKind()
IProgrammingElementAccess
getFrom()
DependencyKind
getGenericDependencyKind()
int
getIssueCount()
Counts all issues for this element.int
getIssueCount(java.util.List<java.lang.String> categories, java.util.List<java.lang.String> issueIds, java.util.List<java.lang.String> providers, java.util.List<java.lang.String> severities)
Counts issues for this element for the given filter parameters.java.util.List<IIssueAccess>
getIssues()
Collect all issues for this element.java.util.List<IIssueAccess>
getIssues(java.util.List<java.lang.String> categories, java.util.List<java.lang.String> issueIds, java.util.List<java.lang.String> providers, java.util.List<java.lang.String> severities)
Collect issues for the given filter parameters.int
getLineNumber()
IProgrammingElementAccess
getTo()
boolean
isCompileTimeDependency()
-
Methods inherited from interface com.hello2morrow.sonargraph.api.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
-
-
-
Method Detail
-
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(java.util.List<java.lang.String> categories, java.util.List<java.lang.String> issueIds, java.util.List<java.lang.String> providers, java.util.List<java.lang.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
java.util.List<IIssueAccess> getIssues()
Collect all issues for this element.- Returns:
- The issues
-
getIssues
java.util.List<IIssueAccess> getIssues(java.util.List<java.lang.String> categories, java.util.List<java.lang.String> issueIds, java.util.List<java.lang.String> providers, java.util.List<java.lang.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
-
-