public class

ResourceDescriptor

extends Object
java.lang.Object
   ↳ com.atlassian.plugin.elements.ResourceDescriptor

Summary

Public Constructors
ResourceDescriptor(Element element)
Public Methods
boolean doesTypeAndNameMatch(String type, String name)
boolean equals(Object o)
String getContent()
String getLocation()
String getName()
This may throw an exception if one of the deprecated methods is used on a ResourceDescriptor which has been given a namePattern
String getParameter(String key)
Map<StringString> getParameters()
ResourceLocation getResourceLocationForName(String name)
Used for resource descriptors that specify multiple resources, via #pattern.
String getType()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ResourceDescriptor (Element element)

Public Methods

public boolean doesTypeAndNameMatch (String type, String name)

public boolean equals (Object o)

public String getContent ()

public String getLocation ()

public String getName ()

This may throw an exception if one of the deprecated methods is used on a ResourceDescriptor which has been given a namePattern

public String getParameter (String key)

public Map<StringString> getParameters ()

public ResourceLocation getResourceLocationForName (String name)

Used for resource descriptors that specify multiple resources, via #pattern.

Returns
  • the location of an individual resource with the name if it matches the pattern, otherwise the location for the actual resource descriptor.

public String getType ()

public int hashCode ()