public class WebModule extends WebResource
| Constructor and Description |
|---|
WebModule(Snapshot snapshot,
String pluginKey,
String key,
String baseName,
List<String> dependencies,
LinkedHashMap<String,String> unresolvedDependencies,
LinkedHashSet<String> webResourceDependencies,
Date updatedAt,
String version,
TransformerParameters transformerParameters,
String filePath,
String type,
Map<String,Set<String>> locationResourceTypes) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName()
Get base name of the module.
|
LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> |
getData()
Get data resources.
|
String |
getPluginKey() |
Resource |
getResource()
Get resource for this module.
|
LinkedHashMap<String,Resource> |
getResources(RequestCache cache)
Get Resources of this Web Resource.
|
String |
getWebResourceKey()
Instead of storing plugin and web resource kyes and taking memory, evaluating it each time it is used.
|
getCondition, getLocationResourceTypesFor, getTransformerParameters, getTransformersequals, getDependencies, getKey, getSnapshot, getUpdatedAt, getVersion, hashCode, hasLegacyConditions, hasLegacyTransformers, isMinificationEnabled, isTransformable, toStringpublic WebModule(Snapshot snapshot, String pluginKey, String key, String baseName, List<String> dependencies, LinkedHashMap<String,String> unresolvedDependencies, LinkedHashSet<String> webResourceDependencies, Date updatedAt, String version, TransformerParameters transformerParameters, String filePath, String type, Map<String,Set<String>> locationResourceTypes)
public String getWebResourceKey()
WebResourcegetWebResourceKey in class WebResourcepublic String getPluginKey()
getPluginKey in class WebResourcepublic LinkedHashMap<String,Resource> getResources(RequestCache cache)
BundlegetResources in class WebResourcepublic Resource getResource()
public LinkedHashMap<String,com.atlassian.json.marshal.Jsonable> getData()
BundlegetData in class WebResourcepublic String getBaseName()
Copyright © 2017 Atlassian. All rights reserved.