Package org.apache.maven.model
Class MailingList
java.lang.Object
org.apache.maven.model.MailingList
- All Implemented Interfaces:
Serializable,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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe link to a URL where you can browse the mailing list archive.private InputLocationField archiveLocation.private InputLocationField location.private Map<Object, InputLocation> Field locations.private StringThe name of the mailing list.private InputLocationField nameLocation.Field otherArchives.private InputLocationField otherArchivesLocation.private StringThe email address or link that can be used to post to the mailing list.private InputLocationField postLocation.private StringThe email address or link that can be used to subscribe to the mailing list.private InputLocationField subscribeLocation.private StringThe email address or link that can be used to unsubscribe to the mailing list.private InputLocationField unsubscribeLocation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOtherArchive(String string) Method addOtherArchive.clone()Method clone.Get the link to a URL where you can browse the mailing list archive.getLocation(Object key) Gets the location of the specified field in the input source.getName()Get the name of the mailing list.Method getOtherArchives.private InputLocationgetOtherLocation(Object key) getPost()Get the email address or link that can be used to post to the mailing list.Get the email address or link that can be used to subscribe to the mailing list.Get the email address or link that can be used to unsubscribe to the mailing list.voidremoveOtherArchive(String string) Method removeOtherArchive.voidsetArchive(String archive) Set the link to a URL where you can browse the mailing list archive.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidSet the name of the mailing list.voidsetOtherArchives(List<String> otherArchives) Set the link to alternate URLs where you can browse the list archive.voidsetOtherLocation(Object key, InputLocation location) voidSet the email address or link that can be used to post to the mailing list.voidsetSubscribe(String subscribe) Set the email address or link that can be used to subscribe to the mailing list.voidsetUnsubscribe(String unsubscribe) Set the email address or link that can be used to unsubscribe to the mailing list.toString()
-
Field Details
-
name
The name of the mailing list. -
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
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
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
The link to a URL where you can browse the mailing list archive. -
otherArchives
Field otherArchives. -
locations
Field locations. -
location
Field location. -
nameLocation
Field nameLocation. -
subscribeLocation
Field subscribeLocation. -
unsubscribeLocation
Field unsubscribeLocation. -
postLocation
Field postLocation. -
archiveLocation
Field archiveLocation. -
otherArchivesLocation
Field otherArchivesLocation.
-
-
Constructor Details
-
MailingList
public MailingList()
-
-
Method Details
-
addOtherArchive
Method addOtherArchive.- Parameters:
string- a string object.
-
clone
Method clone. -
getArchive
Get the link to a URL where you can browse the mailing list archive.- Returns:
- String
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Parameters:
key- a key object.- Returns:
- InputLocation
-
getName
Get the name of the mailing list.- Returns:
- String
-
getOtherArchives
Method getOtherArchives.- Returns:
- List
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Parameters:
key- a key object.location- a location object.
-
setOtherLocation
- Parameters:
key- a key object.location- a location object.
-
getOtherLocation
- Parameters:
key- a key object.- Returns:
- InputLocation
-
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
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
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
Method removeOtherArchive.- Parameters:
string- a string object.
-
setArchive
Set the link to a URL where you can browse the mailing list archive.- Parameters:
archive- a archive object.
-
setName
Set the name of the mailing list.- Parameters:
name- a name object.
-
setOtherArchives
Set the link to alternate URLs where you can browse the list archive.- Parameters:
otherArchives- a otherArchives object.
-
setPost
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- a post object.
-
setSubscribe
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- a subscribe object.
-
setUnsubscribe
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- a unsubscribe object.
-
toString
-