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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Organization instances.
- 
Method SummaryModifier 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- 
getNameThe full name of the organization.- Returns:
- a String
 
- 
getUrlThe URL to the organization's home page.- Returns:
- a String
 
- 
getLocationGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
 
- 
withCreates a new builder with this object as the basis.- Returns:
- a Builder
 
- 
withNameCreates a newOrganizationinstance using the specified name.- Parameters:
- name- the new- Stringto use
- Returns:
- a Organizationwith the specified name
 
- 
withUrlCreates a newOrganizationinstance using the specified url.- Parameters:
- url- the new- Stringto use
- Returns:
- a Organizationwith the specified url
 
- 
newInstanceCreates a newOrganizationinstance. Equivalent tonewInstance(true).- Returns:
- a new Organization
- See Also:
 
- 
newInstanceCreates 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
 
- 
newBuilderCreates a newOrganizationbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newOrganizationbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newOrganizationbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
- from- the- Organizationinstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newOrganizationbuilder instance using the specified object as a basis.- Parameters:
- from- the- Organizationinstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
- 
toString
 
-