public interface ResultAction
| Modifier and Type | Method and Description |
|---|---|
static ResultAction |
buildJavaScriptAction(java.lang.String label,
java.lang.String webResourceKey,
java.lang.String amdModuleKey)
Creates
ResultAction which represents a link which executes JavaScript function |
static ResultAction |
buildUrlAction(java.lang.String label,
java.lang.String url)
Creates ResultAction which represents a plain HTML link that redirect user to a another page
|
boolean |
isRedirect()
Determines if link is a simple redirect
|
boolean isRedirect()
static ResultAction buildUrlAction(java.lang.String label, java.lang.String url)
label - link labelurl - link URLstatic ResultAction buildJavaScriptAction(java.lang.String label, java.lang.String webResourceKey, java.lang.String amdModuleKey)
ResultAction which represents a link which executes JavaScript functionlabel - link labelwebResourceKey - key of the WebResource plugin module to load with JavaScript codeamdModuleKey - key of the AMD module which exports onClick function