| Package | Description |
|---|---|
| com.atlassian.webresource.api.assembler | |
| com.atlassian.webresource.api.assembler.resource |
| Modifier and Type | Method and Description |
|---|---|
default ResourcePhase |
WebResource.getResourcePhase()
Retrieves the web resource phase.
|
| Modifier and Type | Method and Description |
|---|---|
RequiredResources |
RequiredResources.requireContext(ResourcePhase resourcePhase,
String context)
Specifies that resources for the given webresource context should be included on the next call to
drainIncludedResources(), taking into consideration the resource phase.
|
RequiredData |
RequiredData.requireData(String key,
Boolean content,
ResourcePhase resourcePhase) |
RequiredData |
RequiredData.requireData(String key,
com.atlassian.json.marshal.Jsonable content,
ResourcePhase resourcePhase) |
RequiredData |
RequiredData.requireData(String key,
Number content,
ResourcePhase resourcePhase) |
RequiredData |
RequiredData.requireData(String key,
String content,
ResourcePhase resourcePhase) |
RequiredResources |
RequiredResources.requireModule(ResourcePhase resourcePhase,
String name)
Specifies that the given module should be included on the next call to drainIncludedResources(), taking into
consideration the resource phase.
|
RequiredResources |
RequiredResources.requirePage(ResourcePhase resourcePhase,
String key)
Includes all contexts and resources specified in the root-page into the
WebResourceAssembler taking into consideration the resource phase. |
RequiredResources |
RequiredResources.requireSuperbatch(ResourcePhase resourcePhase)
Sets resource phase for superbatch context.
|
RequiredResources |
RequiredResources.requireWebResource(ResourcePhase resourcePhase,
String moduleCompleteKey)
Specifies that resources for the given module should be included on the next call to drainIncludedResources(),
taking into consideration the resource phase.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourcePhase |
ResourcePhase.defaultPhase()
Method responsible for managing the default phase.
|
static ResourcePhase |
ResourcePhase.getPhaseOrDefault(String phase) |
static ResourcePhase |
ResourcePhase.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePhase[] |
ResourcePhase.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024 Atlassian. All rights reserved.