public class ExtensionVersion extends AbstractExtension
Java class for ExtensionVersion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExtensionVersion"> <complexContent> <extension base="{http://www.xwiki.org/extension}AbstractExtension"> <sequence> <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="dependencies" type="{http://www.xwiki.org/extension}ExtensionDependency" maxOccurs="unbounded" minOccurs="0"/> <element name="managedDependencies" type="{http://www.xwiki.org/extension}ExtensionDependency" maxOccurs="unbounded" minOccurs="0"/> <element name="repositories" type="{http://www.xwiki.org/extension}ExtensionRepository" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<ExtensionDependency> |
dependencies |
protected List<ExtensionDependency> |
managedDependencies |
protected List<ExtensionRepository> |
repositories |
protected String |
version |
allowedNamespaces, authors, category, description, extensionFeatures, features, issueManagement, licenses, properties, rating, recommended, scm, summary, website
id, name, type
links
Constructor and Description |
---|
ExtensionVersion() |
getAllowedNamespaces, getAuthors, getCategory, getDescription, getExtensionFeatures, getFeatures, getIssueManagement, getLicenses, getProperties, getRating, getScm, getSummary, getWebsite, isRecommended, setAllowedNamespaces, setCategory, setDescription, setIssueManagement, setRating, setRecommended, setScm, setSummary, setWebsite
getId, getName, getType, setId, setName, setType
getLinks
protected String version
protected List<ExtensionDependency> dependencies
protected List<ExtensionDependency> managedDependencies
protected List<ExtensionRepository> repositories
public String getVersion()
String
public void setVersion(String value)
value
- allowed object is
String
public List<ExtensionDependency> getDependencies()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the dependencies property.
For example, to add a new item, do as follows:
getDependencies().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionDependency
public List<ExtensionDependency> getManagedDependencies()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the managedDependencies property.
For example, to add a new item, do as follows:
getManagedDependencies().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionDependency
public List<ExtensionRepository> getRepositories()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the repositories property.
For example, to add a new item, do as follows:
getRepositories().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionRepository
public ExtensionVersion withVersion(String value)
public ExtensionVersion withDependencies(ExtensionDependency... values)
public ExtensionVersion withDependencies(Collection<ExtensionDependency> values)
public ExtensionVersion withManagedDependencies(ExtensionDependency... values)
public ExtensionVersion withManagedDependencies(Collection<ExtensionDependency> values)
public ExtensionVersion withRepositories(ExtensionRepository... values)
public ExtensionVersion withRepositories(Collection<ExtensionRepository> values)
public ExtensionVersion withRating(ExtensionRating value)
withRating
in class AbstractExtension
public ExtensionVersion withSummary(String value)
withSummary
in class AbstractExtension
public ExtensionVersion withDescription(String value)
withDescription
in class AbstractExtension
public ExtensionVersion withLicenses(License... values)
withLicenses
in class AbstractExtension
public ExtensionVersion withLicenses(Collection<License> values)
withLicenses
in class AbstractExtension
public ExtensionVersion withWebsite(String value)
withWebsite
in class AbstractExtension
public ExtensionVersion withAuthors(ExtensionAuthor... values)
withAuthors
in class AbstractExtension
public ExtensionVersion withAuthors(Collection<ExtensionAuthor> values)
withAuthors
in class AbstractExtension
public ExtensionVersion withFeatures(String... values)
withFeatures
in class AbstractExtension
public ExtensionVersion withFeatures(Collection<String> values)
withFeatures
in class AbstractExtension
public ExtensionVersion withExtensionFeatures(ExtensionId... values)
withExtensionFeatures
in class AbstractExtension
public ExtensionVersion withExtensionFeatures(Collection<ExtensionId> values)
withExtensionFeatures
in class AbstractExtension
public ExtensionVersion withScm(ExtensionScm value)
withScm
in class AbstractExtension
public ExtensionVersion withIssueManagement(ExtensionIssueManagement value)
withIssueManagement
in class AbstractExtension
public ExtensionVersion withCategory(String value)
withCategory
in class AbstractExtension
public ExtensionVersion withAllowedNamespaces(Namespaces value)
withAllowedNamespaces
in class AbstractExtension
public ExtensionVersion withRecommended(Boolean value)
withRecommended
in class AbstractExtension
public ExtensionVersion withProperties(Property... values)
withProperties
in class AbstractExtension
public ExtensionVersion withProperties(Collection<Property> values)
withProperties
in class AbstractExtension
public ExtensionVersion withId(String value)
withId
in class AbstractExtension
public ExtensionVersion withName(String value)
withName
in class AbstractExtension
public ExtensionVersion withType(String value)
withType
in class AbstractExtension
public ExtensionVersion withLinks(Link... values)
withLinks
in class AbstractExtension
public ExtensionVersion withLinks(Collection<Link> values)
withLinks
in class AbstractExtension
Copyright © 2004–2021 XWiki. All rights reserved.