public interface Resourced
| Modifier and Type | Method and Description |
|---|---|
ResourceDescriptor |
getResourceDescriptor(String type,
String name)
Get a
ResourceDescriptor of a particular type and name. |
List<ResourceDescriptor> |
getResourceDescriptors()
Get a
List of all the descriptors
. |
List<ResourceDescriptor> |
getResourceDescriptors(String type)
Deprecated.
since 2.5.0 use
getResourceDescriptors() and filter
as required |
ResourceLocation |
getResourceLocation(String type,
String name)
Get a
ResourceLocation of a particular type and name. |
List<ResourceDescriptor> getResourceDescriptors()
List of all the descriptors
.
Note: since 2.2 this list must be immutable, previously modifying this list could modify the underlying list.
@Deprecated List<ResourceDescriptor> getResourceDescriptors(String type)
getResourceDescriptors() and filter
as requireddescriptors of a particular
type.
Note: since 2.2 this list must be immutable, previously this list was modifiable but modifications would not be reflected in the underlying list.
ResourceDescriptor getResourceDescriptor(String type, String name)
ResourceDescriptor of a particular type and name.ResourceLocation getResourceLocation(String type, String name)
ResourceLocation of a particular type and name.Copyright © 2014 Atlassian. All rights reserved.