Class RequestableKeyValidator
java.lang.Object
com.atlassian.plugin.webresource.graph.RequestableKeyValidator
Determines whether a loosely-typed input conforms to the rules of a specific
Requestable sub-type.- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisWebResource(String requestableDependencyKey) Verifies whether a resource key represents a web resource or not.static booleanisWebResourceContext(String requestableDependencyKey) Verifies whether a resource key represents a resource context or not.
-
Constructor Details
-
RequestableKeyValidator
-
-
Method Details
-
isWebResourceContext
Verifies whether a resource key represents a resource context or not.- Parameters:
requestableDependencyKey- The requestable resource key.- Returns:
true: The web resource key is a web resource context.false: The web resource key is not a web resource context.
-
isWebResource
Verifies whether a resource key represents a web resource or not.- Parameters:
requestableDependencyKey- The requestable resource key.- Returns:
true: The web resource key is a web resource context.false: The web resource key is not a web resource context.
-