org.hudsonci.rest.model
Class PermissionsDTO
java.lang.Object
org.hudsonci.rest.model.PermissionsDTO
public class PermissionsDTO
- extends Object
Java class for permissions complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="permissions">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="permission" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}permission" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
permissions
protected List<PermissionDTO> permissions
PermissionsDTO
public PermissionsDTO()
getPermissions
public List<PermissionDTO> getPermissions()
- Gets the value of the permissions property.
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 permissions property.
For example, to add a new item, do as follows:
getPermissions().add(newItem);
Objects of the following type(s) are allowed in the list
PermissionDTO
withPermissions
public PermissionsDTO withPermissions(PermissionDTO... values)
withPermissions
public PermissionsDTO withPermissions(Collection<PermissionDTO> values)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2004-2011 Hudson. All Rights Reserved.