getEventName()
:
String
Name of the JS custom event to dispatch in response to this result.
setEvent(name
:
String)
:
void
Sets the name of the JS custom event to dispatch in response to this result.
setEvent(name
:
String, detail
:
Object)
:
void
Sets the name and detail of the JS custom event to dispatch in response to this result.
getEventDetail
Detail to the JS custom event to dispatch in response to this result.
getEventName
Name of the JS custom event to dispatch in response to this result.
getRedirect
URL to navigate to in response to this result.
getStatus
Status describing the outcome of this result.
Returns:
status of this result
setEvent
setEvent(name
:
String)
:
void
Sets the name of the JS custom event to dispatch in response to this result.
Parameters:
name
-
JS custom event name
setEvent
Sets the name and detail of the JS custom event to dispatch in response to this result.
Parameters:
name
-
JS custom event name
detail
-
JS custom event detail