1 package org.apache.archiva.metadata.model;
3 import javax.xml.bind.annotation.XmlRootElement;
4 import java.io.Serializable;
8 * Licensed to the Apache Software Foundation (ASF) under one
9 * or more contributor license agreements. See the NOTICE file
10 * distributed with this work for additional information
11 * regarding copyright ownership. The ASF licenses this file
12 * to you under the Apache License, Version 2.0 (the
13 * "License"); you may not use this file except in compliance
14 * with the License. You may obtain a copy of the License at
16 * http://www.apache.org/licenses/LICENSE-2.0
18 * Unless required by applicable law or agreed to in writing,
19 * software distributed under the License is distributed on an
20 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21 * KIND, either express or implied. See the License for the
22 * specific language governing permissions and limitations
27 * Information about the available mailing lists for communicating with the project.
29 * TODO considering moving this to a facet - avoid referring to it externally
31 @XmlRootElement(name = "mailingList")
32 public class MailingList
33 implements Serializable
36 * The primary archive URL for this mailing list.
38 private String mainArchiveUrl;
41 * A list of other URLs to archives of the mailing list.
43 private List<String> otherArchives;
46 * The name of the mailing list, eg. <i>Archiva Developers List</i>.
51 * The email address to post a new message to the mailing list, if applicable.
53 private String postAddress;
56 * The email address to send a message to to subscribe to the mailing list, if applicable.
58 private String subscribeAddress;
61 * The email address to send a message to to unsubscribe from the mailing list, if applicable.
63 private String unsubscribeAddress;
65 public void setMainArchiveUrl( String mainArchiveUrl )
67 this.mainArchiveUrl = mainArchiveUrl;
70 public String getMainArchiveUrl()
72 return mainArchiveUrl;
75 public void setOtherArchives( List<String> otherArchives )
77 this.otherArchives = otherArchives;
80 public List<String> getOtherArchives()
85 public void setName( String name )
90 public void setPostAddress( String postAddress )
92 this.postAddress = postAddress;
95 public void setSubscribeAddress( String subscribeAddress )
97 this.subscribeAddress = subscribeAddress;
100 public void setUnsubscribeAddress( String unsubscribeAddress )
102 this.unsubscribeAddress = unsubscribeAddress;
105 public String getSubscribeAddress()
107 return subscribeAddress;
110 public String getUnsubscribeAddress()
112 return unsubscribeAddress;
115 public String getPostAddress()
120 public String getName()