public final class JavaScriptModuleConfiguration extends java.lang.Object
ModuleManager service;  the contribution key is the module name
 (typically, a single word).
 In some cases, an instance may be created and contributed to override a default module; if the module has no dependencies,
 exports, or initExpression (that is, if it is a proper AMD module, where such dependencies are provided inside
 the module itself), then no client-side shim configuration will be written for the module, but requests for the
 module will be satisfied by the resource.'AMDWrapper| Modifier and Type | Field and Description | 
|---|---|
| Resource | resourceThe resource for this shim module. | 
| Constructor and Description | 
|---|
| JavaScriptModuleConfiguration(Resource resource) | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaScriptModuleConfiguration | dependsOn(java.lang.String... moduleNames)A list of other module names the shim depends on. | 
| JavaScriptModuleConfiguration | exports(java.lang.String exports)The name of a global variable exported by the module. | 
| java.util.List<java.lang.String> | getDependencies() | 
| java.lang.String | getExports() | 
| java.lang.String | getInitExpression() | 
| boolean | getNeedsConfiguration()Returns true if the module contains any additional configuration beyond its  Resource. | 
| JavaScriptModuleConfiguration | initializeWith(java.lang.String expression)Used as an alternative to exports(String), this allows a short expression to be specified; the
 expression is used to initialize, clean up, and (usually) return the module's export value. | 
public JavaScriptModuleConfiguration(Resource resource)
public JavaScriptModuleConfiguration dependsOn(java.lang.String... moduleNames)
moduleNames - public java.util.List<java.lang.String> getDependencies()
public JavaScriptModuleConfiguration exports(java.lang.String exports)
public java.lang.String getExports()
public JavaScriptModuleConfiguration initializeWith(java.lang.String expression)
exports even if you provide a initializeWith(String)}.expression - initialization expressionpublic java.lang.String getInitExpression()
public boolean getNeedsConfiguration()
Resource.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.