public class ExtensionDependency extends Object
Java class for ExtensionDependency complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExtensionDependency"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="constraint" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="repositories" type="{http://www.xwiki.org/extension}ExtensionRepository" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
constraint |
protected String |
id |
protected boolean |
optional |
protected List<ExtensionRepository> |
repositories |
Constructor and Description |
---|
ExtensionDependency() |
Modifier and Type | Method and Description |
---|---|
String |
getConstraint()
Gets the value of the constraint property.
|
String |
getId()
Gets the value of the id property.
|
List<ExtensionRepository> |
getRepositories()
Gets the value of the repositories property.
|
boolean |
isOptional()
Gets the value of the optional property.
|
void |
setConstraint(String value)
Sets the value of the constraint property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setOptional(boolean value)
Sets the value of the optional property.
|
ExtensionDependency |
withConstraint(String value) |
ExtensionDependency |
withId(String value) |
ExtensionDependency |
withOptional(boolean value) |
ExtensionDependency |
withRepositories(Collection<ExtensionRepository> values) |
ExtensionDependency |
withRepositories(ExtensionRepository... values) |
protected String id
protected String constraint
protected boolean optional
protected List<ExtensionRepository> repositories
public void setId(String value)
value
- allowed object is
String
public String getConstraint()
String
public void setConstraint(String value)
value
- allowed object is
String
public boolean isOptional()
public void setOptional(boolean value)
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 ExtensionDependency withId(String value)
public ExtensionDependency withConstraint(String value)
public ExtensionDependency withOptional(boolean value)
public ExtensionDependency withRepositories(ExtensionRepository... values)
public ExtensionDependency withRepositories(Collection<ExtensionRepository> values)
Copyright © 2004–2019 XWiki. All rights reserved.