|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugins.whatsnew.conditions.ShowWhatsNewCondition
public class ShowWhatsNewCondition
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
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition |
|---|
CONTEXT_KEY_HELPER |
| Constructor Summary | |
|---|---|
ShowWhatsNewCondition()
|
|
| 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)
shouldDisplay in class BaseConfluenceConditionpublic void setWhatsNewManager(WhatsNewManager whatsNewManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||