|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.web.gwt.client.Utils
@Deprecated public final class Utils
A class of web utility
Method Summary | |
---|---|
static String |
escapeHtml(String maybeHtml)
Deprecated. |
static String |
formatNumber(double number)
Deprecated. |
static String |
formatNumber(String number)
Deprecated. |
static String |
formatPercent(double percentage)
Deprecated. |
static String |
formatPercent(String percentage)
Deprecated. |
static String |
getConfiguration(String key)
Deprecated. |
static String |
getConfiguration(String key,
String defaultValue)
Deprecated. |
static Set<String> |
getConfigurationKeys()
Deprecated. |
static String |
getRequestParameter(String key)
Deprecated. |
static Set<String> |
getRequestParameterNames()
Deprecated. |
static String |
getServerApiUrl()
Deprecated. |
static String |
getServerUrl()
Deprecated. |
static String |
getUrlToRuleDescription(String ruleKey,
boolean showLayout)
Deprecated. |
static void |
openResourcePopup(Resource resource,
String metricKey)
Deprecated. Display the resource in a popup. |
static void |
setConfiguration(String key,
String val)
Deprecated. |
static void |
showError(String message)
Deprecated. |
static void |
showInfo(String message)
Deprecated. |
static void |
showWarning(String message)
Deprecated. |
static String |
widgetGWTIdJSEncode(String widgetGWTId)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getConfiguration(String key)
public static String getConfiguration(String key, String defaultValue)
public static void setConfiguration(String key, String val)
public static String getRequestParameter(String key)
public static Set<String> getConfigurationKeys()
public static Set<String> getRequestParameterNames()
public static String widgetGWTIdJSEncode(String widgetGWTId)
public static String getServerUrl()
public static String getServerApiUrl()
public static String escapeHtml(String maybeHtml)
public static String formatPercent(String percentage)
public static String formatPercent(double percentage)
public static String formatNumber(String number)
public static String formatNumber(double number)
public static void showError(String message)
public static void showWarning(String message)
public static void showInfo(String message)
public static void openResourcePopup(Resource resource, String metricKey)
resource
- the resource to display, not nullmetricKey
- the metric to highlight (optional : can be null)public static String getUrlToRuleDescription(String ruleKey, boolean showLayout)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |