public class AbstractExtension extends ExtensionSummary
Java class for AbstractExtension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractExtension"> <complexContent> <extension base="{http://www.xwiki.org/extension}ExtensionSummary"> <sequence> <element name="rating" type="{http://www.xwiki.org/extension}ExtensionRating" minOccurs="0"/> <element name="summary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="licenses" type="{http://www.xwiki.org/extension}License" maxOccurs="unbounded" minOccurs="0"/> <element name="website" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="authors" type="{http://www.xwiki.org/extension}ExtensionAuthor" maxOccurs="unbounded" minOccurs="0"/> <element name="features" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="extensionFeatures" type="{http://www.xwiki.org/extension}ExtensionId" maxOccurs="unbounded" minOccurs="0"/> <element name="scm" type="{http://www.xwiki.org/extension}ExtensionScm" minOccurs="0"/> <element name="issueManagement" type="{http://www.xwiki.org/extension}ExtensionIssueManagement" minOccurs="0"/> <element name="category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="allowedNamespaces" type="{http://www.xwiki.org/extension}Namespaces" minOccurs="0"/> <element name="recommended" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="properties" type="{http://www.xwiki.org/extension}Property" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Namespaces |
allowedNamespaces |
protected List<ExtensionAuthor> |
authors |
protected String |
category |
protected String |
description |
protected List<ExtensionId> |
extensionFeatures |
protected List<String> |
features |
protected ExtensionIssueManagement |
issueManagement |
protected List<License> |
licenses |
protected List<Property> |
properties |
protected ExtensionRating |
rating |
protected Boolean |
recommended |
protected ExtensionScm |
scm |
protected String |
summary |
protected String |
website |
id, name, type
links
Constructor and Description |
---|
AbstractExtension() |
getId, getName, getType, setId, setName, setType
getLinks
protected ExtensionRating rating
protected String summary
protected String description
protected String website
protected List<ExtensionAuthor> authors
protected List<ExtensionId> extensionFeatures
protected ExtensionScm scm
protected ExtensionIssueManagement issueManagement
protected String category
protected Namespaces allowedNamespaces
protected Boolean recommended
public ExtensionRating getRating()
ExtensionRating
public void setRating(ExtensionRating value)
value
- allowed object is
ExtensionRating
public String getSummary()
String
public void setSummary(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<License> getLicenses()
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 licenses property.
For example, to add a new item, do as follows:
getLicenses().add(newItem);
Objects of the following type(s) are allowed in the list
License
public String getWebsite()
String
public void setWebsite(String value)
value
- allowed object is
String
public List<ExtensionAuthor> getAuthors()
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 authors property.
For example, to add a new item, do as follows:
getAuthors().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionAuthor
public List<String> getFeatures()
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 features property.
For example, to add a new item, do as follows:
getFeatures().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<ExtensionId> getExtensionFeatures()
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 extensionFeatures property.
For example, to add a new item, do as follows:
getExtensionFeatures().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionId
public ExtensionScm getScm()
ExtensionScm
public void setScm(ExtensionScm value)
value
- allowed object is
ExtensionScm
public ExtensionIssueManagement getIssueManagement()
ExtensionIssueManagement
public void setIssueManagement(ExtensionIssueManagement value)
value
- allowed object is
ExtensionIssueManagement
public String getCategory()
String
public void setCategory(String value)
value
- allowed object is
String
public Namespaces getAllowedNamespaces()
Namespaces
public void setAllowedNamespaces(Namespaces value)
value
- allowed object is
Namespaces
public Boolean isRecommended()
Boolean
public void setRecommended(Boolean value)
value
- allowed object is
Boolean
public List<Property> getProperties()
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 properties property.
For example, to add a new item, do as follows:
getProperties().add(newItem);
Objects of the following type(s) are allowed in the list
Property
public AbstractExtension withRating(ExtensionRating value)
public AbstractExtension withSummary(String value)
public AbstractExtension withDescription(String value)
public AbstractExtension withLicenses(License... values)
public AbstractExtension withLicenses(Collection<License> values)
public AbstractExtension withWebsite(String value)
public AbstractExtension withAuthors(ExtensionAuthor... values)
public AbstractExtension withAuthors(Collection<ExtensionAuthor> values)
public AbstractExtension withFeatures(String... values)
public AbstractExtension withFeatures(Collection<String> values)
public AbstractExtension withExtensionFeatures(ExtensionId... values)
public AbstractExtension withExtensionFeatures(Collection<ExtensionId> values)
public AbstractExtension withScm(ExtensionScm value)
public AbstractExtension withIssueManagement(ExtensionIssueManagement value)
public AbstractExtension withCategory(String value)
public AbstractExtension withAllowedNamespaces(Namespaces value)
public AbstractExtension withRecommended(Boolean value)
public AbstractExtension withProperties(Property... values)
public AbstractExtension withProperties(Collection<Property> values)
public AbstractExtension withId(String value)
withId
in class ExtensionSummary
public AbstractExtension withName(String value)
withName
in class ExtensionSummary
public AbstractExtension withType(String value)
withType
in class ExtensionSummary
public AbstractExtension withLinks(Link... values)
withLinks
in class ExtensionSummary
public AbstractExtension withLinks(Collection<Link> values)
withLinks
in class ExtensionSummary
Copyright © 2004–2022 XWiki. All rights reserved.