org.nuiton.plugin
Interface PluginWithEncoding

All Superinterfaces:
org.apache.maven.plugin.Mojo, Plugin
All Known Implementing Classes:
CollectFilesMojo, SendEmailMojo

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:
tchemit

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
 String getEncoding()
          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.nuiton.plugin.Plugin
getProject, isVerbose, setProject, setVerbose
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute, getLog, setLog
 

Method Detail

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


Copyright © 2009-2011 CodeLutin. All Rights Reserved.