@Generated public class Model extends ModelBase implements Serializable, Cloneable
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
Model() |
Model(Model delegate) |
Model(Model delegate,
BaseObject parent) |
addDependency, addModule, addPluginRepository, addRepository, getDependencies, getDependencyManagement, getDistributionManagement, getModules, getPluginRepositories, getProperties, getReporting, getRepositories, modelBaseToApiV3, modelBaseToApiV4, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setModules, setPluginRepositories, setProperties, setReporting, setRepositories
update
public Model()
public Model(Model delegate)
public Model(Model delegate, BaseObject parent)
public Model getDelegate()
getDelegate
in class ModelBase
public String getModelEncoding()
public String getModelVersion()
public void setModelVersion(String modelVersion)
public Parent getParent()
public void setParent(Parent parent)
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public String getPackaging()
public void setPackaging(String packaging)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getUrl()
public void setUrl(String url)
public String getChildProjectUrlInheritAppendPath()
public void setChildProjectUrlInheritAppendPath(String childProjectUrlInheritAppendPath)
public String getInceptionYear()
public void setInceptionYear(String inceptionYear)
public Organization getOrganization()
public void setOrganization(Organization organization)
public void addLicense(License license)
public void removeLicense(License license)
public void addDeveloper(Developer developer)
public void removeDeveloper(Developer developer)
@Nonnull public List<Contributor> getContributors()
public void setContributors(List<Contributor> contributors)
public void addContributor(Contributor contributor)
public void removeContributor(Contributor contributor)
@Nonnull public List<MailingList> getMailingLists()
public void setMailingLists(List<MailingList> mailingLists)
public void addMailingList(MailingList mailingList)
public void removeMailingList(MailingList mailingList)
public Prerequisites getPrerequisites()
public void setPrerequisites(Prerequisites prerequisites)
public Scm getScm()
public void setScm(Scm scm)
public IssueManagement getIssueManagement()
public void setIssueManagement(IssueManagement issueManagement)
public CiManagement getCiManagement()
public void setCiManagement(CiManagement ciManagement)
public Build getBuild()
public void setBuild(Build build)
public void addProfile(Profile profile)
public void removeProfile(Profile profile)
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
getLocation
in class ModelBase
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
setLocation
in class ModelBase
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.public File getPomFile()
null
if this model does not belong to a local
project (e.g. describes the metadata of some artifact from the repository).public void setPomFile(File pomFile)
public void setModelEncoding(String modelEncoding)
public File getProjectDirectory()
null
if this model does not belong to a local
project (e.g. describes the metadata of some artifact from the repository).public String getId()
groupId:artifactId:packaging:version
public boolean isChildProjectUrlInheritAppendPath()
public void setChildProjectUrlInheritAppendPath(boolean childProjectUrlInheritAppendPath)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.