Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What should I use instead of: AbstractBlueprintContextProvider() getSpaceBlueprint() getContext()

iamgoingtosneeze May 29, 2019

I'm trying to do the right thing and get rid of the warnings in Confluence Server Plugin. 

I don't know what to do about these:

#1: "The constructor AbstractBlueprintContextProvider() is deprecated"

source code is 

public class CustomerSpaceContextProvider extends AbstractBlueprintContextProvider

 

 

#2 "The method getSpaceBlueprint() from the type SpaceBlueprintCreateEvent is deprecated"

line in source code :

moduleCompleteKeyString = event.getSpaceBlueprint().getModuleCompleteKey().toString();

 

#3 The method getBlueprintKey() from the type BlueprintPageCreateEvent is deprecated  

Source code line is:

ModuleCompleteKey moduleCompleteKey = event.getBlueprintKey();

 

Some of the above was taken directly from the tutorials. 

Any advice on what to do instead would be fantastic. 

Thanks in advance.

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 3, 2019

Hello Laura,

Thank you for contacting us!

Could you help me to understand exactly what it is you are trying to do? I suspect you might be working on developing a Confluence Server add-on. Is this correct?

If so, I wanted to let you know that this Community is an end-user forum, and so you won't see as many developers here as you would from our Developer Community. If you have questions about developing an add-on, I would recommend you try there.

Let me know if you have any trouble.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events