Interface ILogicalNamespaceAccess
-
- All Superinterfaces:
IElementAccess
,INamedElementAccess
- All Known Subinterfaces:
IJavaLogicalPackageAccess
- All Known Implementing Classes:
CppLogicalNamespaceAccess
,CSharpLogicalNamespaceAccess
,JavaLogicalPackageAccess
,LogicalNamespaceAccess
public interface ILogicalNamespaceAccess extends INamedElementAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ILogicalNamespaceAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Float
getAbstractnessMetric()
java.lang.Float
getAverageComplexityMetric()
java.lang.Float
getDistanceMetric()
java.util.List<IAggregatedDependencyAccess>
getIncomingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<IAggregatedDependencyAccess>
getIncomingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.java.lang.Float
getInstabilityMetric()
IModuleAccess
getModuleScope()
java.lang.Integer
getNumberOfIncomingDependenciesMetric()
java.lang.Integer
getNumberOfOutgoingDependenciesMetric()
java.lang.Integer
getNumberOfTypesMetric()
java.util.List<IAggregatedDependencyAccess>
getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<IAggregatedDependencyAccess>
getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<IAggregatedDependencyAccess>
getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<IProgrammingElementAccess>
getProgrammingElements()
java.util.List<INamedElementAccess>
getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<INamedElementAccess>
getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<INamedElementAccess>
getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e.java.util.List<INamedElementAccess>
getReferencingElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
Get a list of all elements referencing this element and its children, but treats this namespace as "flat", i.e.java.util.List<INamedElementAccess>
getReferencingElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Get a list of all elements referencing this element and its children, but treats this namespace as "flat", i.e.boolean
isPart()
boolean
isSystemScope()
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
accept, getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
-
-
-
Method Detail
-
getOutgoingDependenciesFlatRecursively
java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude all dependencies targeting this object or its childrenexcludeExternals
- If true, exclude all dependencies targeting external objects.excludeExcluded
- If true, exclude all dependencies targeting excluded objects.types
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of dependencies aggregated to the desired level
-
getOutgoingDependenciesFlatRecursively
java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude all dependencies targeting this object or its childrenexcludeExternals
- If true, exclude all dependencies targeting external objects.types
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of dependencies aggregated to the desired level
-
getOutgoingDependenciesFlatRecursively
java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude all dependencies targeting this object or its childrentypes
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of dependencies aggregated to the desired level
-
getIncomingDependenciesFlatRecursively
java.util.List<IAggregatedDependencyAccess> getIncomingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude all dependencies coming from this object or its childrenexcludeExcluded
- If true, exclude all dependencies coming from excluded elementstypes
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of incoming dependencies aggregated to the desired level
-
getIncomingDependenciesFlatRecursively
java.util.List<IAggregatedDependencyAccess> getIncomingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude all dependencies coming from this object or its childrentypes
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of incoming dependencies aggregated to the desired level
-
getReferencingElementsFlatRecursively
java.util.List<INamedElementAccess> getReferencingElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
Get a list of all elements referencing this element and its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude this object and its children from the resulting listexcludeExcluded
- If true, exclude all excluded objects.types
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of referencing objects according to the aggregation level.
-
getReferencingElementsFlatRecursively
java.util.List<INamedElementAccess> getReferencingElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Get a list of all elements referencing this element and its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude this object and its children from the resulting listtypes
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of referencing objects according to the aggregation level.
-
getReferencedElementsFlatRecursively
java.util.List<INamedElementAccess> getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude this object and its children from the resulting listexcludeExternals
- If true, exclude all external objects.excludeExcluded
- If true, exclude all excluded objects.types
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of referenced objects according to the aggregation level
-
getReferencedElementsFlatRecursively
java.util.List<INamedElementAccess> getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude this object and its children from the resulting listexcludeExternals
- If true, exclude all external objects.types
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of referenced objects according to the aggregation level
-
getReferencedElementsFlatRecursively
java.util.List<INamedElementAccess> getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e. does not include any child namespaces.- Parameters:
aggr
- The desired level of aggregationexcludeSelf
- If true, exclude this object and its children from the resulting listtypes
- List of dependency types (if empty, all dependencies will be returned)- Returns:
- List of referenced objects according to the aggregation level
-
getNumberOfOutgoingDependenciesMetric
java.lang.Integer getNumberOfOutgoingDependenciesMetric()
-
getNumberOfIncomingDependenciesMetric
java.lang.Integer getNumberOfIncomingDependenciesMetric()
-
getInstabilityMetric
java.lang.Float getInstabilityMetric()
-
getDistanceMetric
java.lang.Float getDistanceMetric()
-
getNumberOfTypesMetric
java.lang.Integer getNumberOfTypesMetric()
-
getAbstractnessMetric
java.lang.Float getAbstractnessMetric()
-
getProgrammingElements
java.util.List<IProgrammingElementAccess> getProgrammingElements()
-
getAverageComplexityMetric
java.lang.Float getAverageComplexityMetric()
-
isPart
boolean isPart()
-
isSystemScope
boolean isSystemScope()
-
getModuleScope
IModuleAccess getModuleScope()
-
-