Class NugetconfAnalyzer

  • All Implemented Interfaces:
    java.io.FileFilter, Analyzer, FileTypeAnalyzer

    @ThreadSafe
    public class NugetconfAnalyzer
    extends AbstractFileTypeAnalyzer
    Analyzer which parses a Nuget packages.config file to gather module information.
    Author:
    doshyt
    • Field Detail

      • DEPENDENCY_ECOSYSTEM

        public static final java.lang.String DEPENDENCY_ECOSYSTEM
        A descriptor for the type of dependencies processed or added by this analyzer.
        See Also:
        Constant Field Values
      • FILE_NAME

        public static final java.lang.String FILE_NAME
        The file filter used to determine which files this analyzer supports.
        See Also:
        Constant Field Values
    • Constructor Detail

      • NugetconfAnalyzer

        public NugetconfAnalyzer()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the analyzer's name.
        Returns:
        the name of the analyzer
      • getAnalyzerEnabledSettingKey

        protected java.lang.String getAnalyzerEnabledSettingKey()
        Returns the key used in the properties file to reference the analyzer's enabled property.
        Specified by:
        getAnalyzerEnabledSettingKey in class AbstractAnalyzer
        Returns:
        the analyzer's enabled property setting key
      • getAnalysisPhase

        public AnalysisPhase getAnalysisPhase()
        Returns the analysis phase under which the analyzer runs.
        Returns:
        the phase under which this analyzer runs