MetaDone
|
Classes | |
class | Abstract |
Public Member Functions | |
Class<?> | getType () |
String | getString () |
Number | getNumber () |
boolean | getBoolean () |
public< T > T | getObject (Class< T > expectedType) |
Throwable | getException () |
boolean | isException () |
Class representing a result of the script.
boolean metadone.metabusiness.script.ScriptEvaluator.ScriptResult.getBoolean | ( | ) |
Gets the result as a boolean value.
Implemented in metadone.metabusiness.script.ConstantScriptResult, and metadone.metabusiness.script.js.JSResult.
Throwable metadone.metabusiness.script.ScriptEvaluator.ScriptResult.getException | ( | ) |
Gets the exception occurred while evaluating the script.
null
Implemented in metadone.metabusiness.script.ScriptEvaluator.ScriptResult.Abstract.
Referenced by metadone.client.grasyla2.value.ValueScriptEngine.evaluateComponent(), metadone.metabusiness.impl.ConcreteObject_impl.evaluateFormula(), metadone.metabusiness.impl.Workspace_impl.initScript(), and metadone.client.grasyla2.GrasylaInterpreter.runInitScript().
Number metadone.metabusiness.script.ScriptEvaluator.ScriptResult.getNumber | ( | ) |
Gets the result as a number.
Implemented in metadone.metabusiness.script.ConstantScriptResult, and metadone.metabusiness.script.js.JSResult.
public<T> T metadone.metabusiness.script.ScriptEvaluator.ScriptResult.getObject | ( | Class< T > | expectedType | ) |
Gets the result casted to a given type.
<T> | The expected type |
expectedType | The expected type class |
null
Implemented in metadone.metabusiness.script.js.JSResult, and metadone.metabusiness.script.ScriptEvaluator.ScriptResult.Abstract.
Referenced by metadone.metabusiness.script.ScriptEvaluator.ScriptResult.Abstract.equals(), metadone.client.grasyla2.value.ValueScriptEngine.evaluateComponent(), and metadone.metabusiness.impl.ConcreteObject_impl.evaluateFormula().
String metadone.metabusiness.script.ScriptEvaluator.ScriptResult.getString | ( | ) |
Gets the result as a string.
null
if there was an exception Implemented in metadone.metabusiness.script.js.JSResult, and metadone.metabusiness.script.ScriptEvaluator.ScriptResult.Abstract.
Referenced by metadone.metabusiness.impl.ConcreteObject_impl.evaluateFormula().
Class<?> metadone.metabusiness.script.ScriptEvaluator.ScriptResult.getType | ( | ) |
Gets the type of the result.
Implemented in metadone.metabusiness.script.ScriptEvaluator.ScriptResult.Abstract.
Referenced by metadone.metabusiness.impl.ConcreteObject_impl.evaluateFormula().
boolean metadone.metabusiness.script.ScriptEvaluator.ScriptResult.isException | ( | ) |
Checks whether this result is an exception.
true
iff this result is an exception Implemented in metadone.metabusiness.script.ScriptEvaluator.ScriptResult.Abstract.
Referenced by metadone.client.grasyla2.value.ValueScriptEngine.evaluateComponent(), metadone.metabusiness.impl.ConcreteObject_impl.evaluateFormula(), metadone.metabusiness.impl.Workspace_impl.initScript(), and metadone.client.grasyla2.GrasylaInterpreter.runInitScript().