Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
EclipseConfigFile |
|
| 1.0;1 |
1 | /* |
|
2 | * Copyright 2001-2005 The Apache Software Foundation. |
|
3 | * |
|
4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 | * you may not use this file except in compliance with the License. |
|
6 | * You may obtain a copy of the License at |
|
7 | * |
|
8 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
9 | * |
|
10 | * Unless required by applicable law or agreed to in writing, software |
|
11 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 | * See the License for the specific language governing permissions and |
|
14 | * limitations under the License. |
|
15 | */ |
|
16 | package org.apache.maven.plugin.eclipse; |
|
17 | ||
18 | /** |
|
19 | * Represents a generic configuration file, with a name and a content. |
|
20 | * @author Fabrizio Giustina |
|
21 | * @version $Id: EclipseConfigFile.java 447069 2006-09-17 14:13:54Z fgiust $ |
|
22 | */ |
|
23 | 1 | public class EclipseConfigFile |
24 | { |
|
25 | /** |
|
26 | * The name of the file. |
|
27 | */ |
|
28 | private String name; |
|
29 | ||
30 | /** |
|
31 | * The file content. |
|
32 | */ |
|
33 | private String content; |
|
34 | ||
35 | /** |
|
36 | * Getter for <code>content</code>. |
|
37 | * @return Returns the content. |
|
38 | */ |
|
39 | public String getContent() |
|
40 | { |
|
41 | 1 | return this.content; |
42 | } |
|
43 | ||
44 | /** |
|
45 | * Setter for <code>content</code>. |
|
46 | * @param content The content to set. |
|
47 | */ |
|
48 | public void setContent( String content ) |
|
49 | { |
|
50 | 1 | this.content = content; |
51 | 1 | } |
52 | ||
53 | /** |
|
54 | * Getter for <code>name</code>. |
|
55 | * @return Returns the name. |
|
56 | */ |
|
57 | public String getName() |
|
58 | { |
|
59 | 1 | return this.name; |
60 | } |
|
61 | ||
62 | /** |
|
63 | * Setter for <code>name</code>. |
|
64 | * @param name The name to set. |
|
65 | */ |
|
66 | public void setName( String name ) |
|
67 | { |
|
68 | 1 | this.name = name; |
69 | 1 | } |
70 | } |