Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Site |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-09-09 03:04:48, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.model; | |
9 | ||
10 | /** | |
11 | * Contains the information needed for deploying websites. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | 6 | public class Site |
16 | implements java.io.Serializable | |
17 | { | |
18 | ||
19 | //--------------------------/ | |
20 | //- Class/Member Variables -/ | |
21 | //--------------------------/ | |
22 | ||
23 | /** | |
24 | * | |
25 | * | |
26 | * A unique identifier for a deployment location. | |
27 | * This is used to match the | |
28 | * site to configuration in the | |
29 | * <code>settings.xml</code> file, for example. | |
30 | * | |
31 | * | |
32 | */ | |
33 | private String id; | |
34 | ||
35 | /** | |
36 | * Human readable name of the deployment location. | |
37 | */ | |
38 | private String name; | |
39 | ||
40 | /** | |
41 | * | |
42 | * | |
43 | * The url of the location where website is | |
44 | * deployed, in the form <code>protocol://hostname/path</code>. | |
45 | * | |
46 | * | |
47 | */ | |
48 | private String url; | |
49 | ||
50 | ||
51 | //-----------/ | |
52 | //- Methods -/ | |
53 | //-----------/ | |
54 | ||
55 | /** | |
56 | * Get a unique identifier for a deployment location. This is | |
57 | * used to match the | |
58 | * site to configuration in the | |
59 | * <code>settings.xml</code> file, for example. | |
60 | * | |
61 | * @return String | |
62 | */ | |
63 | public String getId() | |
64 | { | |
65 | 0 | return this.id; |
66 | } //-- String getId() | |
67 | ||
68 | /** | |
69 | * Get human readable name of the deployment location. | |
70 | * | |
71 | * @return String | |
72 | */ | |
73 | public String getName() | |
74 | { | |
75 | 0 | return this.name; |
76 | } //-- String getName() | |
77 | ||
78 | /** | |
79 | * Get the url of the location where website is deployed, in | |
80 | * the form <code>protocol://hostname/path</code>. | |
81 | * | |
82 | * @return String | |
83 | */ | |
84 | public String getUrl() | |
85 | { | |
86 | 0 | return this.url; |
87 | } //-- String getUrl() | |
88 | ||
89 | /** | |
90 | * Set a unique identifier for a deployment location. This is | |
91 | * used to match the | |
92 | * site to configuration in the | |
93 | * <code>settings.xml</code> file, for example. | |
94 | * | |
95 | * @param id | |
96 | */ | |
97 | public void setId( String id ) | |
98 | { | |
99 | 0 | this.id = id; |
100 | 0 | } //-- void setId( String ) |
101 | ||
102 | /** | |
103 | * Set human readable name of the deployment location. | |
104 | * | |
105 | * @param name | |
106 | */ | |
107 | public void setName( String name ) | |
108 | { | |
109 | 0 | this.name = name; |
110 | 0 | } //-- void setName( String ) |
111 | ||
112 | /** | |
113 | * Set the url of the location where website is deployed, in | |
114 | * the form <code>protocol://hostname/path</code>. | |
115 | * | |
116 | * @param url | |
117 | */ | |
118 | public void setUrl( String url ) | |
119 | { | |
120 | 0 | this.url = url; |
121 | 0 | } //-- void setUrl( String ) |
122 | ||
123 | ||
124 | } |