Class GenreTypoInspector

    • Constructor Detail

      • GenreTypoInspector

        public GenreTypoInspector​(BeaTunes beaTunes)
    • Method Detail

      • getName

        public String getName()
        Description copied from class: Inspector
        Inspector name.
        Specified by:
        getName in class Inspector
        Returns:
        descriptive name for this inspector meant for the UI
      • getDescription

        public String getDescription()
        Description copied from class: Inspector
        Inspector description.
        Specified by:
        getDescription in class Inspector
        Returns:
        long description about this inspector meant for the UI
      • exclude

        protected boolean exclude​(TypoInspector.Attribute attribute1,
                                  TypoInspector.Attribute attribute2)
        Description copied from class: TypoInspector
        Allows subclasses to specify specific excludes.
        Overrides:
        exclude in class TypoInspector
        Parameters:
        attribute1 - attribute 1
        attribute2 - attribute 2
        Returns:
        true, if the attribute should be excluded as a cause for an issue. default is false
      • createIssue

        protected com.tagtraum.beatunes.inspection.GenreTypoInspector.TypoIssue createIssue​(List<String> similarAttributes)
        Description copied from class: TypoInspector
        Creates an issue for a possible typo.
        Specified by:
        createIssue in class TypoInspector
        Parameters:
        similarAttributes - attributes that these songs have in common
        Returns:
        an issue