Package com.atlassian.plugin.elements
Class ResourceDescriptor
java.lang.Object
com.atlassian.plugin.elements.ResourceDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoesTypeAndNameMatch(String type, String name) booleangetName()This may throw an exception if one of the deprecated methods is used on a ResourceDescriptor which has been given a namePatterngetParameter(String key) Used for resource descriptors that specify multiple resources, viapattern.getType()inthashCode()
-
Constructor Details
-
ResourceDescriptor
-
-
Method Details
-
getType
-
getName
This may throw an exception if one of the deprecated methods is used on a ResourceDescriptor which has been given a namePattern -
getLocation
-
getContent
-
doesTypeAndNameMatch
-
getParameters
-
getParameter
-
equals
-
hashCode
public int hashCode() -
getResourceLocationForName
Used for resource descriptors that specify multiple resources, viapattern.- Returns:
- the location of an individual resource with the name if it matches the pattern, otherwise the location for the actual resource descriptor.
-