public interface

Resourced

com.atlassian.plugin.Resourced
Known Indirect Subclasses

Summary

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

Public Methods

public abstract ResourceDescriptor getResourceDescriptor (String type, String name)

Get a ResourceDescriptor of a particular type and name.

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

public abstract 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 abstract 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 abstract ResourceLocation getResourceLocation (String type, String name)

Get a ResourceLocation of a particular type and name.

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