public interface IRequestedModuleNames
The result returned by the #toString()
method is intended to be used as the cache key for
layers matching the same requested modules and should not require decoding of the encoded modules
names to produce.
Modifier and Type | Method and Description |
---|---|
List<String> |
getDeps()
Returns the list of modules specified by the
deps request parameter. |
List<String> |
getExcludes()
Returns the list of modules specified by the
excludes request parameter. |
List<String> |
getModules()
Returns the list of modules requested by the Aggregator.
|
List<String> |
getPreloads()
Returns the list of modules specified by the
preloads request parameter. |
List<String> |
getScripts()
Returns the list of script modules specified by the
scripts request parameter. |
String |
toString(boolean decode)
Returns a string representation of this object.
|
List<String> getModules() throws BadRequestException
#toString()
.BadRequestException
List<String> getDeps() throws BadRequestException
deps
request parameter. Deps are
specified in application generated requests to load a server-expanded layer. Dep modules are
included in the layer and are automatically required by the loader. The name of this property
was chosen so as to mirror the deps
AMD config property.BadRequestException
List<String> getPreloads() throws BadRequestException
preloads
request parameter.
Preloads are specified in application generated requests to load a server-expanded layer.
Preload modules are included in the layer but are not activated until required by the
application.BadRequestException
List<String> getScripts() throws BadRequestException
scripts
request parameter.
Script modules are specified in application generated requests to load a boot layer. Script
modules are non-AMD modules that are included at the beginning of a layer. These typically
include the AMD loader config, the Aggregator loader config extension and the AMD loader. It
can also include any other non-AMD script files needed by the application, as long as the
file can be located using the AMD configuration.BadRequestException
List<String> getExcludes() throws BadRequestException
excludes
request parameter.
Excludes are specified in application generated requests to load a static layer. The
excluded modules, and their expanded dependencies, will not be included in the aggregated
response.BadRequestException
String toString(boolean decode)
Object.toString()
calls this method with decode
equal to false.decode
- if true and the request was encoded, then the decoded names will be returned.Copyright © 2011-2015 IBM. All Rights Reserved.