Package com.atlassian.plugin
Interface Resourced
- All Known Subinterfaces:
ContainerManagedPlugin,ModuleDescriptor<T>,Plugin
- All Known Implementing Classes:
DummyPlugin,Resources
public interface Resourced
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceDescriptor(String type, String name) Get aResourceDescriptorof a particular type and name.Get aListof all thedescriptors.getResourceLocation(String type, String name) Get aResourceLocationof a particular type and name.
-
Method Details
-
getResourceDescriptors
List<ResourceDescriptor> getResourceDescriptors()Get aListof all thedescriptors.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.
-
getResourceDescriptor
Get aResourceDescriptorof a particular type and name.- Returns:
- the specified resource descriptor if found, null otherwise.
-
getResourceLocation
Get aResourceLocationof a particular type and name.- Returns:
- the specified resource location if found, null otherwise.
-