Class ShowWhatsNewCondition

  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
      extended by com.atlassian.confluence.plugins.whatsnew.conditions.ShowWhatsNewCondition
All Implemented Interfaces:

public class ShowWhatsNewCondition
extends BaseConfluenceCondition

Displays a What's New web-fragment if: 1. the user isn't currently on a login or logout screen 2. the screen is the first non-login screen of the user's session 3. the user has not flagged that they don't want to see What's New

Constructor Summary
Method Summary
 void setWhatsNewManager(WhatsNewManager whatsNewManager)
 boolean shouldDisplay(WebInterfaceContext context)
          Display if the user hasn't specified to not show for the current minor Confluence version.
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ShowWhatsNewCondition()
Method Detail


public boolean shouldDisplay(WebInterfaceContext context)
Display if the user hasn't specified to not show for the current minor Confluence version.

Specified by:
shouldDisplay in class BaseConfluenceCondition


public void setWhatsNewManager(WhatsNewManager whatsNewManager)

Copyright © 2003-2011 Atlassian. All Rights Reserved.