Constructor and Description |
---|
ResourceRef(String identifier,
ResourceType type) |
ResourceRef(String identifier,
ResourceType type,
List<Resource> dependencies) |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
getDependencies()
A list of dependent resources.
|
String |
getIdentifier()
An identifier that is unique among all the resources of the same type
(see
Resource.getResourceType() ). |
ResourceType |
getResourceType()
Get the resource type classifier
|
void |
setDependencies(List<Resource> deps) |
void |
setIdentifier(String identifier) |
void |
setResourceType(ResourceType type) |
public ResourceRef(String identifier, ResourceType type)
public ResourceRef(String identifier, ResourceType type, List<Resource> dependencies)
public String getIdentifier()
Resource
Resource.getResourceType()
).getIdentifier
in interface Resource
public void setIdentifier(String identifier)
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public void setResourceType(ResourceType type)
public List<Resource> getDependencies()
Resource
The dependency list is used for instance to determine if a user can access a given resource. Should the access to all its dependencies is denied, it is denied for this instance as well.
getDependencies
in interface Resource
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.