Package org.apache.maven.model
Class MailingList
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.MailingList
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionMailingList(MailingList delegate) MailingList(MailingList delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOtherArchive(String otherArchive) clone()booleangetLocation(Object key) Gets the location of the specified field in the input source.getName()getPost()inthashCode()static List<MailingList>mailingListToApiV3(List<MailingList> list) static List<MailingList>mailingListToApiV4(List<MailingList> list) voidremoveOtherArchive(String otherArchive) protected booleanvoidsetArchive(String archive) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidvoidsetOtherArchives(List<String> otherArchives) voidvoidsetSubscribe(String subscribe) voidsetUnsubscribe(String unsubscribe) toString()Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
MailingList
public MailingList() -
MailingList
-
MailingList
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classBaseObject
-
equals
-
hashCode
public int hashCode() -
getName
-
setName
-
getSubscribe
-
setSubscribe
-
getUnsubscribe
-
setUnsubscribe
-
getPost
-
setPost
-
getArchive
-
setArchive
-
getOtherArchives
-
setOtherArchives
-
addOtherArchive
-
removeOtherArchive
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classBaseObject
-
mailingListToApiV4
-
mailingListToApiV3
-
toString
-