Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
FileSet |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-03-28 16:09:53, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.model; | |
9 | ||
10 | /** | |
11 | * A PatternSet for files. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | 4 | public class FileSet |
16 | extends PatternSet | |
17 | implements java.io.Serializable | |
18 | { | |
19 | ||
20 | //--------------------------/ | |
21 | //- Class/Member Variables -/ | |
22 | //--------------------------/ | |
23 | ||
24 | /** | |
25 | * Describe the directory where the resources are stored. The | |
26 | * path is relative | |
27 | * to the POM. | |
28 | */ | |
29 | private String directory; | |
30 | ||
31 | ||
32 | //-----------/ | |
33 | //- Methods -/ | |
34 | //-----------/ | |
35 | ||
36 | /** | |
37 | * Get describe the directory where the resources are stored. | |
38 | * The path is relative | |
39 | * to the POM. | |
40 | * | |
41 | * @return String | |
42 | */ | |
43 | public String getDirectory() | |
44 | { | |
45 | 1 | return this.directory; |
46 | } //-- String getDirectory() | |
47 | ||
48 | /** | |
49 | * Set describe the directory where the resources are stored. | |
50 | * The path is relative | |
51 | * to the POM. | |
52 | * | |
53 | * @param directory | |
54 | */ | |
55 | public void setDirectory( String directory ) | |
56 | { | |
57 | 0 | this.directory = directory; |
58 | 0 | } //-- void setDirectory( String ) |
59 | ||
60 | ||
61 | ||
62 | /** | |
63 | * @see java.lang.Object#toString() | |
64 | */ | |
65 | public String toString() | |
66 | { | |
67 | 1 | return "FileSet {directory: " + getDirectory() + ", " + super.toString() + "}"; |
68 | } | |
69 | ||
70 | ||
71 | } |