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.String
archive
The link to a URL where you can browse the mailing list archive.private InputLocation
archiveLocation
Field archiveLocation.private InputLocation
location
Field location.private java.util.Map<java.lang.Object,InputLocation>
locations
Field locations.private java.lang.String
name
The name of the mailing list.private InputLocation
nameLocation
Field nameLocation.private java.util.List<java.lang.String>
otherArchives
Field otherArchives.private InputLocation
otherArchivesLocation
Field otherArchivesLocation.private java.lang.String
post
The email address or link that can be used to post to the mailing list.private InputLocation
postLocation
Field postLocation.private java.lang.String
subscribe
The email address or link that can be used to subscribe to the mailing list.private InputLocation
subscribeLocation
Field subscribeLocation.private java.lang.String
unsubscribe
The email address or link that can be used to unsubscribe to the mailing list.private InputLocation
unsubscribeLocation
Field unsubscribeLocation.
-
Constructor Summary
Constructors Constructor Description MailingList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOtherArchive(java.lang.String string)
Method addOtherArchive.MailingList
clone()
Method clone.java.lang.String
getArchive()
Get the link to a URL where you can browse the mailing list archive.InputLocation
getLocation(java.lang.Object key)
Gets the location of the specified field in the input source.java.lang.String
getName()
Get the name of the mailing list.java.util.List<java.lang.String>
getOtherArchives()
Method getOtherArchives.private InputLocation
getOtherLocation(java.lang.Object key)
java.lang.String
getPost()
Get the email address or link that can be used to post to the mailing list.java.lang.String
getSubscribe()
Get the email address or link that can be used to subscribe to the mailing list.java.lang.String
getUnsubscribe()
Get the email address or link that can be used to unsubscribe to the mailing list.void
removeOtherArchive(java.lang.String string)
Method removeOtherArchive.void
setArchive(java.lang.String archive)
Set the link to a URL where you can browse the mailing list archive.void
setLocation(java.lang.Object key, InputLocation location)
Sets the location of the specified field.void
setName(java.lang.String name)
Set the name of the mailing list.void
setOtherArchives(java.util.List<java.lang.String> otherArchives)
Set the link to alternate URLs where you can browse the list archive.void
setOtherLocation(java.lang.Object key, InputLocation location)
void
setPost(java.lang.String post)
Set the email address or link that can be used to post to the mailing list.void
setSubscribe(java.lang.String subscribe)
Set the email address or link that can be used to subscribe to the mailing list.void
setUnsubscribe(java.lang.String unsubscribe)
Set the email address or link that can be used to unsubscribe to the mailing list.java.lang.String
toString()
-
-
-
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
- a string object.
-
clone
public MailingList clone()
Method clone.- Overrides:
clone
in 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:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.- 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:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.location
- a location object.
-
setOtherLocation
public void setOtherLocation(java.lang.Object key, InputLocation location)
- Parameters:
key
- a key object.location
- a location object.
-
getOtherLocation
private InputLocation getOtherLocation(java.lang.Object key)
- Parameters:
key
- a key object.- 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
- a string object.
-
setArchive
public void setArchive(java.lang.String archive)
Set the link to a URL where you can browse the mailing list archive.- Parameters:
archive
- a archive object.
-
setName
public void setName(java.lang.String name)
Set the name of the mailing list.- Parameters:
name
- a name object.
-
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
- a otherArchives object.
-
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
- a post object.
-
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
- a subscribe object.
-
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
- a unsubscribe object.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-