Package org.nuiton.plugin
Interface PluginWithEncoding
- All Superinterfaces:
org.apache.maven.plugin.Mojo,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 TypeMethodDescriptionGets the encoding to be used to read and write io resources.voidsetEncoding(String encoding) Sets the encoding to use in mojo.Methods inherited from interface org.apache.maven.plugin.Mojo
execute, getLog, setLogMethods 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
Sets the encoding to use in mojo.- Parameters:
encoding- the new encoding to use in mojo
-