Interface JavaScriptStackSource
- All Known Implementing Classes:
JavaScriptStackSourceImpl
Manages the available
JavaScriptStack
s, each of which has a unique name.- Since:
- 5.2.0
-
Method Summary
Modifier and TypeMethodDescriptionGets a stack by name (ignoring case).findStackForJavaScriptLibrary
(Resource resource) Attempts to find the stack containing the indicated JavaScript library.Gets a stack by name (ignoring case).Returns the names of all stacks, in sorted order.
-
Method Details
-
getStack
Gets a stack by name (ignoring case).- Returns:
- named stack
- Throws:
UnknownValueException
- if no such stack
-
findStack
Gets a stack by name (ignoring case).- Returns:
- named stack, or null if not found
- Since:
- 5.4
-
getStackNames
Returns the names of all stacks, in sorted order.- Since:
- 5.2.1
-
findStackForJavaScriptLibrary
Attempts to find the stack containing the indicated JavaScript library.- Parameters:
resource
- identifies a potential JavaScript Library- Returns:
- the stack if found, or null
- Since:
- 5.4
- See Also:
-