@PublicApi public class BlueprintContext extends Object
| Constructor and Description |
|---|
BlueprintContext() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String key)
Use this get method sparingly!
|
String |
getAnalyticsKey() |
UUID |
getBlueprintId() |
com.atlassian.plugin.ModuleCompleteKey |
getBlueprintModuleCompleteKey() |
String |
getCreateFromTemplateLabel() |
String |
getCreateResult() |
Map<String,Object> |
getMap()
This method is note for use in plugins: only the
AbstractBlueprintContextProvider should call it. |
String |
getSpaceKey() |
String |
getTemplateLabel() |
void |
put(String key,
Object value)
Use this put method sparingly!
|
void |
setAnalyticsKey(String key) |
void |
setBlueprintId(UUID blueprintId) |
void |
setBlueprintModuleCompleteKey(com.atlassian.plugin.ModuleCompleteKey key) |
void |
setCreateFromTemplateLabel(String label)
Set the label for a Create-from-Template macro button that may be rendered from this context.
|
void |
setSpaceKey(String spaceKey) |
void |
setTemplateLabel(String label) |
void |
setTitle(String title)
Set the title that the content (page, blog) should have.
|
public Map<String,Object> getMap()
AbstractBlueprintContextProvider should call it. Other classes
should interact with the map via the facade methods.ContextProvider interfacepublic com.atlassian.plugin.ModuleCompleteKey getBlueprintModuleCompleteKey()
public UUID getBlueprintId()
public String getSpaceKey()
public String getAnalyticsKey()
public String getTemplateLabel()
public String getCreateResult()
public String getCreateFromTemplateLabel()
public void setTitle(String title)
public void setCreateFromTemplateLabel(String label)
public void setTemplateLabel(String label)
public void setAnalyticsKey(String key)
public void setSpaceKey(String spaceKey)
public void setBlueprintModuleCompleteKey(com.atlassian.plugin.ModuleCompleteKey key)
public void setBlueprintId(UUID blueprintId)
Copyright © 2017 Atlassian. All rights reserved.