Interface PluginWithEncoding

All Superinterfaces:
org.apache.maven.plugin.Mojo, Plugin

public interface PluginWithEncoding extends Plugin
A common contract to be implements by our mojo and reports which needs encoding.

Just expose a getter-setter getEncoding() and setEncoding(String).

Since:
1.2.6
Author:
Tony Chemit - chemit@codelutin.com
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin

    Plugin.InitState, Plugin.Packaging
  • Field Summary

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

    ROLE
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the encoding to be used to read and write io resources.
    void
    setEncoding(String encoding)
    Sets the encoding to use in mojo.

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

    execute, getLog, setLog

    Methods inherited from interface org.nuiton.plugin.Plugin

    getProject, isVerbose, setProject, setVerbose
  • Method Details

    • getEncoding

      String getEncoding()
      Gets the encoding to be used to read and write io resources.
      Returns:
      the encoding used.
    • setEncoding

      void setEncoding(String encoding)
      Sets the encoding to use in mojo.
      Parameters:
      encoding - the new encoding to use in mojo