public class JavaScriptStackSourceImpl extends Object implements JavaScriptStackSource
Constructor and Description |
---|
JavaScriptStackSourceImpl(Map<String,JavaScriptStack> configuration) |
Modifier and Type | Method and Description |
---|---|
JavaScriptStack |
findStack(String name)
Gets a stack by name (ignoring case).
|
JavaScriptStack |
findStackForJavaScriptLibrary(Resource resource)
Attempts to find the stack containing the indicated JavaScript library.
|
JavaScriptStack |
getStack(String name)
Gets a stack by name (ignoring case).
|
List<String> |
getStackNames()
Returns the names of all stacks, in sorted order.
|
public JavaScriptStackSourceImpl(Map<String,JavaScriptStack> configuration)
public JavaScriptStack getStack(String name)
JavaScriptStackSource
getStack
in interface JavaScriptStackSource
public JavaScriptStack findStack(String name)
JavaScriptStackSource
findStack
in interface JavaScriptStackSource
public List<String> getStackNames()
JavaScriptStackSource
getStackNames
in interface JavaScriptStackSource
public JavaScriptStack findStackForJavaScriptLibrary(Resource resource)
JavaScriptStackSource
findStackForJavaScriptLibrary
in interface JavaScriptStackSource
resource
- identifies a potential JavaScript LibraryJavaScriptStack.getJavaScriptLibraries()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.