public class ConfluenceWebSudoBanner extends Object implements WebSudoBanner
| Constructor and Description |
|---|
ConfluenceWebSudoBanner() |
| Modifier and Type | Method and Description |
|---|---|
<M extends Page> |
dropWebSudo(Class<M> nextPage)
Drops the websudo privilege if the websudo banner is displayed otherwise just navigates
to the next page.
|
String |
getMessage()
Retrieves the websudo message from the banner.
|
boolean |
isShowing()
Checks the websudo banner is showing
|
public boolean isShowing()
WebSudoBannerisShowing in interface WebSudoBannerpublic String getMessage()
WebSudoBannergetMessage in interface WebSudoBannerpublic <M extends Page> M dropWebSudo(Class<M> nextPage)
WebSudoBannerdropWebSudo in interface WebSudoBannerM - The page class type.nextPage - the page to navigate to after websudo privileges have been dropped.
Cannot be null.Copyright © 2015 Atlassian. All rights reserved.