Class ComponentAccess

  • All Implemented Interfaces:
    IComponentAccess

    public class ComponentAccess
    extends java.lang.Object
    implements IComponentAccess
    Class that encapsulates access to components, which are language specific. In Java and C# a component is a source file, in C/C++ a component is a combination of source and header files.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ElementAccess<?> getElement()
      Returns the language specific component element
      java.lang.String getFilterName()
      Gets the filter name for this component (usually the identifying path of the component)
      boolean isExcluded()
      Is this component excluded?
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComponentAccess

        public ComponentAccess​(com.hello2morrow.sonargraph.core.model.path.IComponent component,
                               ElementAccess.IAccessFactory factory)
        Internal constructor
        Parameters:
        component -
    • Method Detail

      • getFilterName

        public java.lang.String getFilterName()
        Gets the filter name for this component (usually the identifying path of the component)
        Specified by:
        getFilterName in interface IComponentAccess
        Returns:
        The filter name
      • isExcluded

        public boolean isExcluded()
        Is this component excluded?
        Specified by:
        isExcluded in interface IComponentAccess
        Returns:
        true if excluded