Package org.apache.maven.api.model
Class MailingList
java.lang.Object
org.apache.maven.api.model.MailingList
- All Implemented Interfaces:
- Serializable,- InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class MailingList
extends Object
implements Serializable, InputLocationTracker
This element describes all of the mailing lists associated with a project. The
 auto-generated site references this information.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create MailingList instances.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedMailingList(MailingList.Builder builder) Constructor for this class, to be called from its subclasses andMailingList.Builder.
- 
Method SummaryModifier and TypeMethodDescriptionThe link to a URL where you can browse the mailing list archive.Gets the input location that caused this model to be read.getLocation(Object key) Gets the location of the specified field in the input source.Gets the keys of the locations of the input source.getName()The name of the mailing list.The link to alternate URLs where you can browse the list archive.getPost()The email address or link that can be used to post to the mailing list.The email address or link that can be used to subscribe to the mailing list.The email address or link that can be used to unsubscribe to the mailing list.static MailingList.BuilderCreates a newMailingListbuilder instance.static MailingList.BuildernewBuilder(boolean withDefaults) Creates a newMailingListbuilder instance using default values or not.static MailingList.BuildernewBuilder(MailingList from) Creates a newMailingListbuilder instance using the specified object as a basis.static MailingList.BuildernewBuilder(MailingList from, boolean forceCopy) Creates a newMailingListbuilder instance using the specified object as a basis.static MailingListCreates a newMailingListinstance.static MailingListnewInstance(boolean withDefaults) Creates a newMailingListinstance using default values or not.toString()with()Creates a new builder with this object as the basis.withArchive(String archive) Creates a newMailingListinstance using the specified archive.Creates a newMailingListinstance using the specified name.withOtherArchives(Collection<String> otherArchives) Creates a newMailingListinstance using the specified otherArchives.Creates a newMailingListinstance using the specified post.withSubscribe(String subscribe) Creates a newMailingListinstance using the specified subscribe.withUnsubscribe(String unsubscribe) Creates a newMailingListinstance using the specified unsubscribe.
- 
Constructor Details- 
MailingListConstructor for this class, to be called from its subclasses andMailingList.Builder.- See Also:
 
 
- 
- 
Method Details- 
getNameThe name of the mailing list.- Returns:
- a String
 
- 
getSubscribeThe 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:
- a String
 
- 
getUnsubscribeThe 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:
- a String
 
- 
getPostThe 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:
- a String
 
- 
getArchiveThe link to a URL where you can browse the mailing list archive.- Returns:
- a String
 
- 
getOtherArchivesThe link to alternate URLs where you can browse the list archive.- Returns:
- a List<String>
 
- 
getLocationGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
 
- 
getLocationKeysGets the keys of the locations of the input source.
- 
getImportedFromGets the input location that caused this model to be read.- Specified by:
- getImportedFromin interface- InputLocationTracker
- Returns:
- InputLocation
 
- 
withCreates a new builder with this object as the basis.- Returns:
- a Builder
 
- 
withNameCreates a newMailingListinstance using the specified name.- Parameters:
- name- the new- Stringto use
- Returns:
- a MailingListwith the specified name
 
- 
withSubscribeCreates a newMailingListinstance using the specified subscribe.- Parameters:
- subscribe- the new- Stringto use
- Returns:
- a MailingListwith the specified subscribe
 
- 
withUnsubscribeCreates a newMailingListinstance using the specified unsubscribe.- Parameters:
- unsubscribe- the new- Stringto use
- Returns:
- a MailingListwith the specified unsubscribe
 
- 
withPostCreates a newMailingListinstance using the specified post.- Parameters:
- post- the new- Stringto use
- Returns:
- a MailingListwith the specified post
 
- 
withArchiveCreates a newMailingListinstance using the specified archive.- Parameters:
- archive- the new- Stringto use
- Returns:
- a MailingListwith the specified archive
 
- 
withOtherArchivesCreates a newMailingListinstance using the specified otherArchives.- Parameters:
- otherArchives- the new- Collection<String>to use
- Returns:
- a MailingListwith the specified otherArchives
 
- 
newInstanceCreates a newMailingListinstance. Equivalent tonewInstance(true).- Returns:
- a new MailingList
- See Also:
 
- 
newInstanceCreates a newMailingListinstance using default values or not. Equivalent tonewBuilder(withDefaults).build().- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new MailingList
 
- 
newBuilderCreates a newMailingListbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newMailingListbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newMailingListbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
- from- the- MailingListinstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newMailingListbuilder instance using the specified object as a basis.- Parameters:
- from- the- MailingListinstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
- 
toString
 
-