public class BlueprintIdBundle extends Object
Blueprints have UUIDs, but when attempting to resolve the correct Blueprint for a given context, more information like the Blueprint's plugin module key (if present) and the context's Space may be required.
This objects saves the resolver-interface from needing to accept a number of different arguments in various overloaded methods.
| Constructor and Description |
|---|
BlueprintIdBundle(UUID blueprintId,
com.atlassian.plugin.ModuleCompleteKey blueprintModuleKey,
com.atlassian.confluence.spaces.Space space) |
BlueprintIdBundle(UUID blueprintId,
com.atlassian.plugin.ModuleCompleteKey blueprintModuleKey,
String spaceKey)
The calling code shouldn't need to resolve a Space from a spaceKey if it doesn't need to.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
getBlueprintId() |
com.atlassian.plugin.ModuleCompleteKey |
getBlueprintModuleKey() |
com.atlassian.confluence.spaces.Space |
getSpace() |
String |
getSpaceKey() |
String |
toString() |
public BlueprintIdBundle(UUID blueprintId, com.atlassian.plugin.ModuleCompleteKey blueprintModuleKey, com.atlassian.confluence.spaces.Space space)
public BlueprintIdBundle(UUID blueprintId, com.atlassian.plugin.ModuleCompleteKey blueprintModuleKey, String spaceKey)
Copyright © 2017 Atlassian. All rights reserved.