Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PluginManagement |
|
| 1.0;1 |
1 | /* | |
2 | * $Id$ | |
3 | */ | |
4 | ||
5 | package org.apache.maven.model; | |
6 | ||
7 | //---------------------------------/ | |
8 | //- Imported classes and packages -/ | |
9 | //---------------------------------/ | |
10 | ||
11 | import java.util.Date; | |
12 | ||
13 | /** | |
14 | * Section for management of default plugin information for use in | |
15 | * a group of POMs. | |
16 | * | |
17 | * | |
18 | * @version $Revision$ $Date$ | |
19 | */ | |
20 | 0 | public class PluginManagement extends PluginContainer |
21 | implements java.io.Serializable | |
22 | { | |
23 | ||
24 | ||
25 | 0 | private String modelEncoding = "UTF-8"; |
26 | ||
27 | /** | |
28 | * Set an encoding used for reading/writing the model. | |
29 | * | |
30 | * @param modelEncoding the encoding used when reading/writing the model. | |
31 | */ | |
32 | public void setModelEncoding( String modelEncoding ) | |
33 | { | |
34 | 0 | this.modelEncoding = modelEncoding; |
35 | 0 | } |
36 | ||
37 | /** | |
38 | * @return the current encoding used when reading/writing this model. | |
39 | */ | |
40 | public String getModelEncoding() | |
41 | { | |
42 | 0 | return modelEncoding; |
43 | } | |
44 | } |