Class JavaModuleAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.workspace.Module>
-
- com.hello2morrow.sonargraph.core.api.model.ModuleAccess
-
- com.hello2morrow.sonargraph.languageprovider.java.api.model.JavaModuleAccess
-
- All Implemented Interfaces:
IJavaModuleAccess
,IElementAccess
,IModuleAccess
,INamedElementAccess
public final class JavaModuleAccess extends ModuleAccess implements IJavaModuleAccess
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
ElementAccess.IAccessFactory
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.java.IJavaModuleAccess
IJavaModuleAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.IModuleAccess
IModuleAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Constructor Summary
Constructors Constructor Description JavaModuleAccess(com.hello2morrow.sonargraph.languageprovider.java.model.system.JavaModule element)
Internal use only
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internaljava.lang.Float
getAveragePublicVisibility()
java.lang.Integer
getBiggestPackageCycleGroupMetric()
java.util.List<IDirectoryAccess>
getClassRootDirectories()
java.lang.Integer
getNumberOfCyclicPackagesMetric()
java.lang.Integer
getNumberOfIgnoredCyclicPackagesMetric()
java.lang.Integer
getNumberOfPackageCycleGroupsMetric()
java.lang.Integer
getNumberOfPackagesMetric()
java.lang.Integer
getPackageCyclicityMetric()
java.lang.Integer
getPackageDependenciesToRemoveMetric()
java.lang.Integer
getPackageParserDependenciesToRemoveMetric()
java.lang.Float
getPackageRelativeCyclicityMetric()
java.lang.Integer
getPackageStructuralDebtIndexMetric()
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ModuleAccess
getACDMetric, getBiggestComponentCycleGroupMetric, getCCDMetric, getCodeCommentLinesMetric, getCommentLinesMetric, getComponentComponentDependenciesToCutMetric, getComponentCyclicityMetric, getComponentReferencesToCutMetric, getComponentRelativeCyclicityMetric, getComponentStructuralDebtIndexMetric, getLanguage, getLinesOfCodeMetric, getMaintainabilityLevelMetric, getMetricLevel, getNCCDMetric, getNumberOfAllViolatingComponentsMetric, getNumberOfComponentCycleGroupsMetric, getNumberOfComponentsMetric, getNumberOfComponentViolationsMetric, getNumberOfCyclicComponentsMetric, getNumberOfIgnoredCyclicComponentsMetric, getNumberOfIgnoredParserDependencyViolationsMetric, getNumberOfParserDependencyViolationsMetric, getNumberOfStatementsMetric, getNumberOfUnassignedComponentsMetric, getNumberOfViolatingComponentsMetric, getPropagationCostMetric, getSourceElementCountMetric, getSourceRootDirectories, getTotalLinesMetric
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
equals, getChildren, getElement, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, setFactory, toString
-
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.IModuleAccess
getACDMetric, getBiggestComponentCycleGroupMetric, getCCDMetric, getCodeCommentLinesMetric, getCommentLinesMetric, getComponentComponentDependenciesToCutMetric, getComponentCyclicityMetric, getComponentReferencesToCutMetric, getComponentRelativeCyclicityMetric, getComponentStructuralDebtIndexMetric, getLanguage, getLinesOfCodeMetric, getMaintainabilityLevelMetric, getNCCDMetric, getNumberOfAllViolatingComponentsMetric, getNumberOfComponentCycleGroupsMetric, getNumberOfComponentsMetric, getNumberOfComponentViolationsMetric, getNumberOfCyclicComponentsMetric, getNumberOfIgnoredCyclicComponentsMetric, getNumberOfIgnoredParserDependencyViolationsMetric, getNumberOfParserDependencyViolationsMetric, getNumberOfStatementsMetric, getNumberOfUnassignedComponentsMetric, getNumberOfViolatingComponentsMetric, getPropagationCostMetric, getSourceElementCountMetric, getSourceRootDirectories, getTotalLinesMetric
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
-
-
-
Method Detail
-
getClassRootDirectories
public java.util.List<IDirectoryAccess> getClassRootDirectories()
- Specified by:
getClassRootDirectories
in interfaceIJavaModuleAccess
-
getBiggestPackageCycleGroupMetric
public java.lang.Integer getBiggestPackageCycleGroupMetric()
- Specified by:
getBiggestPackageCycleGroupMetric
in interfaceIJavaModuleAccess
-
getNumberOfCyclicPackagesMetric
public java.lang.Integer getNumberOfCyclicPackagesMetric()
- Specified by:
getNumberOfCyclicPackagesMetric
in interfaceIJavaModuleAccess
-
getNumberOfIgnoredCyclicPackagesMetric
public java.lang.Integer getNumberOfIgnoredCyclicPackagesMetric()
- Specified by:
getNumberOfIgnoredCyclicPackagesMetric
in interfaceIJavaModuleAccess
-
getNumberOfPackageCycleGroupsMetric
public java.lang.Integer getNumberOfPackageCycleGroupsMetric()
- Specified by:
getNumberOfPackageCycleGroupsMetric
in interfaceIJavaModuleAccess
-
getNumberOfPackagesMetric
public java.lang.Integer getNumberOfPackagesMetric()
- Specified by:
getNumberOfPackagesMetric
in interfaceIJavaModuleAccess
-
getPackageCyclicityMetric
public java.lang.Integer getPackageCyclicityMetric()
- Specified by:
getPackageCyclicityMetric
in interfaceIJavaModuleAccess
-
getPackageRelativeCyclicityMetric
public java.lang.Float getPackageRelativeCyclicityMetric()
- Specified by:
getPackageRelativeCyclicityMetric
in interfaceIJavaModuleAccess
-
getPackageStructuralDebtIndexMetric
public java.lang.Integer getPackageStructuralDebtIndexMetric()
- Specified by:
getPackageStructuralDebtIndexMetric
in interfaceIJavaModuleAccess
-
getPackageParserDependenciesToRemoveMetric
public java.lang.Integer getPackageParserDependenciesToRemoveMetric()
- Specified by:
getPackageParserDependenciesToRemoveMetric
in interfaceIJavaModuleAccess
-
getPackageDependenciesToRemoveMetric
public java.lang.Integer getPackageDependenciesToRemoveMetric()
- Specified by:
getPackageDependenciesToRemoveMetric
in interfaceIJavaModuleAccess
-
getAveragePublicVisibility
public java.lang.Float getAveragePublicVisibility()
- Specified by:
getAveragePublicVisibility
in interfaceIJavaModuleAccess
-
accept
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal- Specified by:
accept
in interfaceINamedElementAccess
- Overrides:
accept
in classModuleAccess
- Parameters:
visitor
- The visitor implementation
-
-