public interface

Resourced

com.atlassian.plugin.Resourced
Known Indirect Subclasses

Summary

Public Methods
ResourceDescriptor getResourceDescriptor(String type, String name)
Get a ResourceDescriptor of a particular type and name.
@Deprecated List<ResourceDescriptor> getResourceDescriptors(String type)
This method is deprecated. since 2.5.0 use getResourceDescriptors() and filter as required
List<ResourceDescriptor> getResourceDescriptors()
Get a List of all the descriptors .
ResourceLocation getResourceLocation(String type, String name)
Get a ResourceLocation of a particular type and name.

Public Methods

public ResourceDescriptor getResourceDescriptor (String type, String name)

Get a ResourceDescriptor of a particular type and name.

Returns
  • the specified resource descriptor if found, null otherwise.

@Deprecated public List<ResourceDescriptor> getResourceDescriptors (String type)

This method is deprecated.
since 2.5.0 use getResourceDescriptors() and filter as required

Get a list of all descriptors 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.

Returns
  • all resource descriptors this object supports.

public List<ResourceDescriptor> getResourceDescriptors ()

Get a List of all the descriptors .

Note: since 2.2 this list must be immutable, previously modifying this list could modify the underlying list.

Returns
  • all resource descriptors this object supports.

public ResourceLocation getResourceLocation (String type, String name)

Get a ResourceLocation of a particular type and name.

Returns
  • the specified resource location if found, null otherwise.