getNotificationManager has been deprecated and is annotated as such in the java code but no alternative is offered. Is there an alternative or can the code that calls getNotificationManager be deleted?
@Jimmy Quinn Welcome to the community!
Can you please add some more details, like where you are trying to access this interface, and in what class/interface method named 'getNotificationManger' has been deprecated.
It is used in a few places but is defined within PageManager.java. Here at Fujitsu, we control the access to pages for creation, amendment and deletion. We use plugins to control page manipulation. I have searched all the Atlassian code and it is deprecated everywhere it is used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried accessing it via ContainerManager (com.atlassian.spring.container.ContainerManager),
NotificationManager notificationManager = (NotificationManager) ContainerManager.getComponent("notificationManager");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.