public class Capabilities extends BaseResources
Java class for Capabilities complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Capabilities"> <complexContent> <extension base="{}BaseResources"> <sequence> <element name="version" type="{}VersionCaps" maxOccurs="unbounded"/> <element name="permits" type="{}Permits" minOccurs="0"/> <element name="scheduling_policies" type="{}SchedulingPolicies" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
Capabilities() |
Modifier and Type | Method and Description |
---|---|
Permits |
getPermits()
Gets the value of the permits property.
|
SchedulingPolicies |
getSchedulingPolicies()
Gets the value of the schedulingPolicies property.
|
List<VersionCaps> |
getVersions()
Gets the value of the versions property.
|
boolean |
isSetPermits() |
boolean |
isSetSchedulingPolicies() |
boolean |
isSetVersions() |
void |
setPermits(Permits value)
Sets the value of the permits property.
|
void |
setSchedulingPolicies(SchedulingPolicies value)
Sets the value of the schedulingPolicies property.
|
void |
unsetVersions() |
getActive, getSize, getTotal, isSetActive, isSetSize, isSetTotal, setActive, setSize, setTotal
getActions, isSetActions, setActions
public List<VersionCaps> getVersions()
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 versions property.
For example, to add a new item, do as follows:
getVersions().add(newItem);
Objects of the following type(s) are allowed in the list
VersionCaps
public boolean isSetVersions()
public void unsetVersions()
public Permits getPermits()
Permits
public void setPermits(Permits value)
value
- allowed object is
Permits
public boolean isSetPermits()
public SchedulingPolicies getSchedulingPolicies()
SchedulingPolicies
public void setSchedulingPolicies(SchedulingPolicies value)
value
- allowed object is
SchedulingPolicies
public boolean isSetSchedulingPolicies()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0