Package org.apache.maven.api.model
Class Organization
java.lang.Object
org.apache.maven.api.model.Organization
- All Implemented Interfaces:
 Serializable,InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class Organization
extends Object
implements Serializable, InputLocationTracker
Specifies the organization that produces this project.
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Organization instances. - 
Method Summary
Modifier and TypeMethodDescriptiongetLocation(Object key) Gets the location of the specified field in the input source.getName()The full name of the organization.getUrl()The URL to the organization's home page.static Organization.BuilderCreates a newOrganizationbuilder instance.static Organization.BuildernewBuilder(boolean withDefaults) Creates a newOrganizationbuilder instance using default values or not.static Organization.BuildernewBuilder(Organization from) Creates a newOrganizationbuilder instance using the specified object as a basis.static Organization.BuildernewBuilder(Organization from, boolean forceCopy) Creates a newOrganizationbuilder instance using the specified object as a basis.static OrganizationCreates a newOrganizationinstance.static OrganizationnewInstance(boolean withDefaults) Creates a newOrganizationinstance using default values or not.toString()with()Creates a new builder with this object as the basis.Creates a newOrganizationinstance using the specified name.Creates a newOrganizationinstance using the specified url. 
- 
Method Details
- 
getName
The full name of the organization.- Returns:
 - a 
String 
 - 
getUrl
The URL to the organization's home page.- Returns:
 - a 
String 
 - 
getLocation
Gets the location of the specified field in the input source.- Specified by:
 getLocationin interfaceInputLocationTracker
 - 
with
Creates a new builder with this object as the basis.- Returns:
 - a 
Builder 
 - 
withName
Creates a newOrganizationinstance using the specified name.- Parameters:
 name- the newStringto use- Returns:
 - a 
Organizationwith the specified name 
 - 
withUrl
Creates a newOrganizationinstance using the specified url.- Parameters:
 url- the newStringto use- Returns:
 - a 
Organizationwith the specified url 
 - 
newInstance
Creates a newOrganizationinstance. Equivalent tonewInstance(true).- Returns:
 - a new 
Organization - See Also:
 
 - 
newInstance
Creates a newOrganizationinstance using default values or not. Equivalent tonewBuilder(withDefaults).build().- Parameters:
 withDefaults- the boolean indicating whether default values should be used- Returns:
 - a new 
Organization 
 - 
newBuilder
Creates a newOrganizationbuilder instance. Equivalent tonewBuilder(true).- Returns:
 - a new 
Builder - See Also:
 
 - 
newBuilder
Creates a newOrganizationbuilder instance using default values or not.- Parameters:
 withDefaults- the boolean indicating whether default values should be used- Returns:
 - a new 
Builder 
 - 
newBuilder
Creates a newOrganizationbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
 from- theOrganizationinstance to use as a basis- Returns:
 - a new 
Builder 
 - 
newBuilder
Creates a newOrganizationbuilder instance using the specified object as a basis.- Parameters:
 from- theOrganizationinstance to use as a basisforceCopy- the boolean indicating if a copy should be forced- Returns:
 - a new 
Builder 
 - 
toString
 
 -