Package org.apache.maven.model
Class MailingList
- java.lang.Object
-
- org.apache.maven.model.MailingList
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,InputLocationTracker
public class MailingList extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
This element describes all of the mailing lists associated with a project. The auto-generated site references this information.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringarchiveThe link to a URL where you can browse the mailing list archive.private InputLocationarchiveLocationField archiveLocation.private InputLocationlocationField location.private java.util.Map<java.lang.Object,InputLocation>locationsField locations.private java.lang.StringnameThe name of the mailing list.private InputLocationnameLocationField nameLocation.private java.util.List<java.lang.String>otherArchivesField otherArchives.private InputLocationotherArchivesLocationField otherArchivesLocation.private java.lang.StringpostThe email address or link that can be used to post to the mailing list.private InputLocationpostLocationField postLocation.private java.lang.StringsubscribeThe email address or link that can be used to subscribe to the mailing list.private InputLocationsubscribeLocationField subscribeLocation.private java.lang.StringunsubscribeThe email address or link that can be used to unsubscribe to the mailing list.private InputLocationunsubscribeLocationField unsubscribeLocation.
-
Constructor Summary
Constructors Constructor Description MailingList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOtherArchive(java.lang.String string)Method addOtherArchive.MailingListclone()Method clone.java.lang.StringgetArchive()Get the link to a URL where you can browse the mailing list archive.InputLocationgetLocation(java.lang.Object key)Gets the location of the specified field in the input source.java.lang.StringgetName()Get the name of the mailing list.java.util.List<java.lang.String>getOtherArchives()Method getOtherArchives.private InputLocationgetOtherLocation(java.lang.Object key)java.lang.StringgetPost()Get the email address or link that can be used to post to the mailing list.java.lang.StringgetSubscribe()Get the email address or link that can be used to subscribe to the mailing list.java.lang.StringgetUnsubscribe()Get the email address or link that can be used to unsubscribe to the mailing list.voidremoveOtherArchive(java.lang.String string)Method removeOtherArchive.voidsetArchive(java.lang.String archive)Set the link to a URL where you can browse the mailing list archive.voidsetLocation(java.lang.Object key, InputLocation location)Sets the location of the specified field.voidsetName(java.lang.String name)Set the name of the mailing list.voidsetOtherArchives(java.util.List<java.lang.String> otherArchives)Set the link to alternate URLs where you can browse the list archive.voidsetOtherLocation(java.lang.Object key, InputLocation location)voidsetPost(java.lang.String post)Set the email address or link that can be used to post to the mailing list.voidsetSubscribe(java.lang.String subscribe)Set the email address or link that can be used to subscribe to the mailing list.voidsetUnsubscribe(java.lang.String unsubscribe)Set the email address or link that can be used to unsubscribe to the mailing list.
-
-
-
Field Detail
-
name
private java.lang.String name
The name of the mailing list.
-
subscribe
private java.lang.String subscribe
The email address or link that can be used to subscribe to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.
-
unsubscribe
private java.lang.String unsubscribe
The email address or link that can be used to unsubscribe to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.
-
post
private java.lang.String post
The email address or link that can be used to post to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.
-
archive
private java.lang.String archive
The link to a URL where you can browse the mailing list archive.
-
otherArchives
private java.util.List<java.lang.String> otherArchives
Field otherArchives.
-
locations
private java.util.Map<java.lang.Object,InputLocation> locations
Field locations.
-
location
private InputLocation location
Field location.
-
nameLocation
private InputLocation nameLocation
Field nameLocation.
-
subscribeLocation
private InputLocation subscribeLocation
Field subscribeLocation.
-
unsubscribeLocation
private InputLocation unsubscribeLocation
Field unsubscribeLocation.
-
postLocation
private InputLocation postLocation
Field postLocation.
-
archiveLocation
private InputLocation archiveLocation
Field archiveLocation.
-
otherArchivesLocation
private InputLocation otherArchivesLocation
Field otherArchivesLocation.
-
-
Method Detail
-
addOtherArchive
public void addOtherArchive(java.lang.String string)
Method addOtherArchive.- Parameters:
string-
-
clone
public MailingList clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- MailingList
-
getArchive
public java.lang.String getArchive()
Get the link to a URL where you can browse the mailing list archive.- Returns:
- String
-
getLocation
public InputLocation getLocation(java.lang.Object key)
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Parameters:
key-- Returns:
- InputLocation
-
getName
public java.lang.String getName()
Get the name of the mailing list.- Returns:
- String
-
getOtherArchives
public java.util.List<java.lang.String> getOtherArchives()
Method getOtherArchives.- Returns:
- List
-
setLocation
public void setLocation(java.lang.Object key, InputLocation location)Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Parameters:
key-location-
-
setOtherLocation
public void setOtherLocation(java.lang.Object key, InputLocation location)- Parameters:
key-location-
-
getOtherLocation
private InputLocation getOtherLocation(java.lang.Object key)
- Parameters:
key-- Returns:
- InputLocation
-
getPost
public java.lang.String getPost()
Get the email address or link that can be used to post to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.- Returns:
- String
-
getSubscribe
public java.lang.String getSubscribe()
Get the email address or link that can be used to subscribe to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.- Returns:
- String
-
getUnsubscribe
public java.lang.String getUnsubscribe()
Get the email address or link that can be used to unsubscribe to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.- Returns:
- String
-
removeOtherArchive
public void removeOtherArchive(java.lang.String string)
Method removeOtherArchive.- Parameters:
string-
-
setArchive
public void setArchive(java.lang.String archive)
Set the link to a URL where you can browse the mailing list archive.- Parameters:
archive-
-
setName
public void setName(java.lang.String name)
Set the name of the mailing list.- Parameters:
name-
-
setOtherArchives
public void setOtherArchives(java.util.List<java.lang.String> otherArchives)
Set the link to alternate URLs where you can browse the list archive.- Parameters:
otherArchives-
-
setPost
public void setPost(java.lang.String post)
Set the email address or link that can be used to post to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.- Parameters:
post-
-
setSubscribe
public void setSubscribe(java.lang.String subscribe)
Set the email address or link that can be used to subscribe to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.- Parameters:
subscribe-
-
setUnsubscribe
public void setUnsubscribe(java.lang.String unsubscribe)
Set the email address or link that can be used to unsubscribe to the mailing list. If this is an email address, amailto:link will automatically be created when the documentation is created.- Parameters:
unsubscribe-
-
-