Interface RequiredData
public interface RequiredData
Interface for clients to require data blobs.
- Since:
- v3.0
-
Method Summary
Modifier and TypeMethodDescriptionrequireData(String key, com.atlassian.json.marshal.Jsonable content) Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().requireData(String key, com.atlassian.json.marshal.Jsonable content, ResourcePhase resourcePhase) requireData(String key, Boolean content) Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().requireData(String key, Boolean content, ResourcePhase resourcePhase) requireData(String key, Number content) Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().requireData(String key, Number content, ResourcePhase resourcePhase) requireData(String key, String content) Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().requireData(String key, String content, ResourcePhase resourcePhase)
-
Method Details
-
requireData
Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().- Parameters:
key- data keycontent- JSON data- Returns:
- this, to support method chaining
WRM.data()JavaScript API
-
requireData
RequiredData requireData(String key, com.atlassian.json.marshal.Jsonable content, ResourcePhase resourcePhase) -
requireData
Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().- Parameters:
key- data keycontent- content to render- Returns:
- this, to support method chaining
WRM.data()JavaScript API
-
requireData
-
requireData
Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().- Parameters:
key- data keycontent- content to render- Returns:
- this, to support method chaining
WRM.data()JavaScript API
-
requireData
-
requireData
Specifies that JSON data with the given key should be included on the next call to drainIncludedResources() withResourcePhase.defaultPhase().- Parameters:
key- data keycontent- content to render- Returns:
- this, to support method chaining
WRM.data()JavaScript API
-
requireData
-