public final class ScriptResult extends Object
Constructor and Description |
---|
ScriptResult(Object javaScriptResult,
Page newPage)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
Object |
getJavaScriptResult()
Return the object that was the output of the script engine.
|
Page |
getNewPage()
Return the page that is loaded at the end of the script execution.
|
static boolean |
isFalse(ScriptResult scriptResult)
Utility method testing if a script result is
false |
public Object getJavaScriptResult()
public Page getNewPage()
public static boolean isFalse(ScriptResult scriptResult)
false
scriptResult
- a script result (may be null
)true
if scriptResult
is false
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.