com.atlassian.confluence.plugins.whatsnew.conditions
Class ShowWhatsNewCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugins.whatsnew.conditions.ShowWhatsNewCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.Condition
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowWhatsNewCondition
public ShowWhatsNewCondition()
shouldDisplay
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
setWhatsNewManager
public void setWhatsNewManager(WhatsNewManager whatsNewManager)
Copyright © 2003-2012 Atlassian. All Rights Reserved.