Class LoggingModelProblemCollector

  • All Implemented Interfaces:
    org.apache.maven.model.building.ModelProblemCollector

    public class LoggingModelProblemCollector
    extends java.lang.Object
    implements org.apache.maven.model.building.ModelProblemCollector
    This is an implementation of ModelProblemCollector that is logging all problems.
    Since:
    1.0.0-beta-4
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.plugin.logging.Log logger  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggingModelProblemCollector​(org.apache.maven.plugin.logging.Log logger)
      The constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.apache.maven.model.building.ModelProblemCollectorRequest req)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private final org.apache.maven.plugin.logging.Log logger
    • Constructor Detail

      • LoggingModelProblemCollector

        public LoggingModelProblemCollector​(org.apache.maven.plugin.logging.Log logger)
        The constructor.
        Parameters:
        logger - is the Log.
    • Method Detail

      • add

        public void add​(org.apache.maven.model.building.ModelProblemCollectorRequest req)
        Specified by:
        add in interface org.apache.maven.model.building.ModelProblemCollector