org.rhq.core.domain.resource.composite
Class ResourcePermission
java.lang.Object
org.rhq.core.domain.resource.composite.ResourcePermission
- All Implemented Interfaces:
- Serializable
public class ResourcePermission
- extends Object
- implements Serializable
A set of permissions that apply to a particular Resource or ResourceGroup (i.e. Permission
s where
Permission.getTarget()
is Permission.Target#RESOURCE
- See Also:
- Serialized Form
Constructor Summary |
ResourcePermission()
All permissions |
ResourcePermission(boolean measure,
boolean inventory,
boolean control,
boolean alert,
boolean event,
boolean configureRead,
boolean configureWrite,
boolean content,
boolean createChildResources,
boolean deleteResource,
boolean drift)
|
ResourcePermission(Set<Permission> permissions)
|
ResourcePermission
public ResourcePermission()
- All permissions
ResourcePermission
public ResourcePermission(boolean measure,
boolean inventory,
boolean control,
boolean alert,
boolean event,
boolean configureRead,
boolean configureWrite,
boolean content,
boolean createChildResources,
boolean deleteResource,
boolean drift)
ResourcePermission
public ResourcePermission(Set<Permission> permissions)
isMeasure
public boolean isMeasure()
isInventory
public boolean isInventory()
isControl
public boolean isControl()
isAlert
public boolean isAlert()
isDrift
public boolean isDrift()
isEvent
public boolean isEvent()
isConfigureRead
public boolean isConfigureRead()
isConfigureWrite
public boolean isConfigureWrite()
isContent
public boolean isContent()
isCreateChildResources
public boolean isCreateChildResources()
isDeleteResource
public boolean isDeleteResource()
getPermissions
public Set<Permission> getPermissions()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.