1 package org.apache.archiva.metadata.model;
3 import javax.xml.bind.annotation.XmlRootElement;
7 * Licensed to the Apache Software Foundation (ASF) under one
8 * or more contributor license agreements. See the NOTICE file
9 * distributed with this work for additional information
10 * regarding copyright ownership. The ASF licenses this file
11 * to you under the Apache License, Version 2.0 (the
12 * "License"); you may not use this file except in compliance
13 * with the License. You may obtain a copy of the License at
15 * http://www.apache.org/licenses/LICENSE-2.0
17 * Unless required by applicable law or agreed to in writing,
18 * software distributed under the License is distributed on an
19 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20 * KIND, either express or implied. See the License for the
21 * specific language governing permissions and limitations
26 * Information about the available mailing lists for communicating with the project.
28 * @todo considering moving this to a facet - avoid referring to it externally
30 @XmlRootElement( name = "mailingList" )
31 public class MailingList
34 * The primary archive URL for this mailing list.
36 private String mainArchiveUrl;
39 * A list of other URLs to archives of the mailing list.
41 private List<String> otherArchives;
44 * The name of the mailing list, eg. <i>Archiva Developers List</i>.
49 * The email address to post a new message to the mailing list, if applicable.
51 private String postAddress;
54 * The email address to send a message to to subscribe to the mailing list, if applicable.
56 private String subscribeAddress;
59 * The email address to send a message to to unsubscribe from the mailing list, if applicable.
61 private String unsubscribeAddress;
63 public void setMainArchiveUrl( String mainArchiveUrl )
65 this.mainArchiveUrl = mainArchiveUrl;
68 public String getMainArchiveUrl()
70 return mainArchiveUrl;
73 public void setOtherArchives( List<String> otherArchives )
75 this.otherArchives = otherArchives;
78 public List<String> getOtherArchives()
83 public void setName( String name )
88 public void setPostAddress( String postAddress )
90 this.postAddress = postAddress;
93 public void setSubscribeAddress( String subscribeAddress )
95 this.subscribeAddress = subscribeAddress;
98 public void setUnsubscribeAddress( String unsubscribeAddress )
100 this.unsubscribeAddress = unsubscribeAddress;
103 public String getSubscribeAddress()
105 return subscribeAddress;
108 public String getUnsubscribeAddress()
110 return unsubscribeAddress;
113 public String getPostAddress()
118 public String getName()