Class AbstractLoggingMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
All Implemented Interfaces:
Logger, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
PythonCompileMojo

public abstract class AbstractLoggingMojo extends org.apache.maven.plugin.AbstractMojo implements Logger
An abstract mojo with logging bridge.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    error(String error)
    Logs an error.
    void
    error(Throwable throwable)
    Logs a throwable.
    void
    info(String info)
    Logs an information.
    void
    warn(String warning)
    Logs a warning.

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.maven.plugin.Mojo

    execute
  • Constructor Details

    • AbstractLoggingMojo

      public AbstractLoggingMojo()
  • Method Details

    • warn

      public void warn(String warning)
      Description copied from interface: Logger
      Logs a warning.
      Specified by:
      warn in interface Logger
      Parameters:
      warning - the warning
    • error

      public void error(String error)
      Description copied from interface: Logger
      Logs an error.
      Specified by:
      error in interface Logger
      Parameters:
      error - the error
    • error

      public void error(Throwable throwable)
      Description copied from interface: Logger
      Logs a throwable.
      Specified by:
      error in interface Logger
      Parameters:
      throwable - the throwable
    • info

      public void info(String info)
      Description copied from interface: Logger
      Logs an information.
      Specified by:
      info in interface Logger
      Parameters:
      info - the information