public class JavascriptRule extends ComponentBase
COMPONENT_EXECUTE_FAIL, debug, MISSING_SESSION, UNKNOWN_COMPONENT_IDEMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR| Constructor and Description |
|---|
JavascriptRule() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertWrappedJavaObject(Object obj) |
void |
done() |
protected boolean |
executeAction() |
protected Object |
executeScript(org.mozilla.javascript.ScriptableObject scriptable,
org.mozilla.javascript.Scriptable scope,
String script,
org.mozilla.javascript.Context cx) |
org.apache.commons.logging.Log |
getLogger() |
boolean |
init() |
protected boolean |
validateAction() |
protected boolean |
validateSystemSettings() |
addTempParameter, addTempParameterObject, applyInputsToFormat, audit, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createNewInstance, execute, feedbackAllowed, getActionDefinition, getActionName, getActionTitle, getComponentDefinition, getComponentDefinition, getContentOutputItem, getDefaultOutputStream, getFeedbackOutputStream, getId, getInitFailMessage, getInitOk, getInputBooleanValue, getInputLongValue, getInputNames, getInputParameter, getInputStream, getInputStringValue, getInputStringValue, getInputValue, getInstanceId, getLogId, getObjectName, getOutputContentItem, getOutputContentItem, getOutputItem, getOutputItem, getOutputNames, getOutputPreference, getProcessId, getResource, getResourceAsString, getResourceDataSource, getResourceInputStream, getResourceNames, getRuntimeContext, getSession, getSetting, getSolutionName, getSolutionPath, getStringSetting, inputMissingError, isDefinedInput, isDefinedOutput, isDefinedResource, isPromptPending, outputMissingError, promptNeeded, promptNow, resolveParameter, resourceComponentSettingError, resourceMissingError, saveSetting, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setFeedbackMimeType, setInstanceId, setOutputMimeType, setOutputMimeType, setOutputValue, setProcessId, setRuntimeContext, setSession, validatedebug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warngenLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, setLoggingLevel, setLogIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic org.apache.commons.logging.Log getLogger()
getLogger in class PentahoBaseprotected boolean validateSystemSettings()
validateSystemSettings in class ComponentBaseprotected boolean validateAction()
validateAction in class ComponentBasepublic void done()
done in interface org.pentaho.platform.api.engine.IComponentdone in class ComponentBaseprotected boolean executeAction()
executeAction in class ComponentBaseprotected Object executeScript(org.mozilla.javascript.ScriptableObject scriptable, org.mozilla.javascript.Scriptable scope, String script, org.mozilla.javascript.Context cx) throws Exception
Exceptionpublic boolean init()
init in interface org.pentaho.platform.api.engine.IComponentinit in class ComponentBaseCopyright © 2018 Hitachi Vantara. All rights reserved.