public class SolutionEngine extends PentahoMessenger implements org.pentaho.platform.api.engine.ISolutionEngine, org.pentaho.platform.api.engine.IPentahoInitializer
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.platform.api.engine.IRuntimeContext |
runtime |
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
Constructor and Description |
---|
SolutionEngine() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyParameterMappers(Map parameterProviderMap)
FIXME: This is in dire need of fixing
|
protected void |
auditStart(String actionPath,
String instanceId) |
protected boolean |
checkParameters(String sequencePath,
String processId) |
protected void |
createRuntime(org.pentaho.platform.api.repository.IRuntimeElement runtimeData,
String solutionName,
org.pentaho.platform.api.engine.IOutputHandler outputHandler,
String processId,
org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory) |
org.pentaho.platform.api.engine.IRuntimeContext |
execute(org.pentaho.platform.api.engine.IRuntimeContext pRuntime,
String actionPath,
String processId,
boolean async,
boolean instanceEnds,
Map parameterProviderMap,
org.pentaho.platform.api.engine.IOutputHandler outputHandler) |
org.pentaho.platform.api.engine.IRuntimeContext |
execute(String actionPath,
String processId,
boolean async,
boolean instanceEnds,
String instanceId,
boolean isPersisted,
Map parameterProviderMap,
org.pentaho.platform.api.engine.IOutputHandler outputHandler,
org.pentaho.platform.api.engine.IActionCompleteListener pListener,
org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
List messages) |
protected org.pentaho.platform.api.engine.IRuntimeContext |
execute(String actionPath,
String processId,
boolean async,
boolean instanceEnds,
String instanceId,
boolean isPersisted,
Map parameterProviderMap,
org.pentaho.platform.api.engine.IOutputHandler outputHandler,
org.pentaho.platform.api.engine.IActionCompleteListener pListener,
org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
List messages,
String actionSequenceXML) |
org.pentaho.platform.api.engine.IRuntimeContext |
execute(String actionSequenceXML,
String sequencePath,
String processId,
boolean async,
boolean instanceEnds,
String instanceId,
boolean isPersisted,
Map parameterProviderMap,
org.pentaho.platform.api.engine.IOutputHandler outputHandler,
org.pentaho.platform.api.engine.IActionCompleteListener pListener,
org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
List messages) |
protected org.pentaho.platform.api.engine.IRuntimeContext |
executeInternal(String sequencePath,
String processId,
boolean async,
boolean instanceEnds,
Map parameterProviderMap) |
protected org.pentaho.platform.api.engine.IRuntimeContext |
executeInternal(String sequencePath,
String processId,
boolean async,
boolean instanceEnds,
Map parameterProviderMap,
String actionSequenceXML) |
protected org.pentaho.platform.api.engine.ICreateFeedbackParameterCallback |
getCreateFeedbackParameterCallback() |
org.pentaho.platform.api.engine.IRuntimeContext |
getExecutionContext() |
org.apache.commons.logging.Log |
getLogger() |
protected Map |
getParameterProviders() |
protected org.pentaho.platform.api.engine.IRuntimeContext |
getRuntime() |
protected org.pentaho.platform.api.engine.IPentahoSession |
getSession() |
int |
getStatus() |
void |
init(org.pentaho.platform.api.engine.IPentahoSession pSession) |
void |
setCreateFeedbackParameterCallback(org.pentaho.platform.api.engine.ICreateFeedbackParameterCallback callback) |
void |
setForcePrompt(boolean forcePrompt) |
void |
setlistener(org.pentaho.platform.api.engine.IActionCompleteListener doneListener) |
void |
setlistener(org.pentaho.platform.api.engine.IExecutionListener execListener) |
void |
setParameterProvider(String name,
org.pentaho.platform.api.engine.IParameterProvider parameterProvider) |
void |
setParameterXsl(String xsl) |
protected void |
setRuntime(org.pentaho.platform.api.engine.IRuntimeContext runtime) |
void |
setSession(org.pentaho.platform.api.engine.IPentahoSession session) |
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, setLoggingLevel, setLogId
public org.apache.commons.logging.Log getLogger()
getLogger
in class PentahoBase
public void init(org.pentaho.platform.api.engine.IPentahoSession pSession)
init
in interface org.pentaho.platform.api.engine.IPentahoInitializer
init
in interface org.pentaho.platform.api.engine.ISolutionEngine
public void setParameterProvider(String name, org.pentaho.platform.api.engine.IParameterProvider parameterProvider)
setParameterProvider
in interface org.pentaho.platform.api.engine.ISolutionEngine
protected Map getParameterProviders()
public void setlistener(org.pentaho.platform.api.engine.IActionCompleteListener doneListener)
setlistener
in interface org.pentaho.platform.api.engine.ISolutionEngine
public void setlistener(org.pentaho.platform.api.engine.IExecutionListener execListener)
setlistener
in interface org.pentaho.platform.api.engine.ISolutionEngine
public void setSession(org.pentaho.platform.api.engine.IPentahoSession session)
setSession
in interface org.pentaho.platform.api.engine.ISolutionEngine
public int getStatus()
getStatus
in interface org.pentaho.platform.api.engine.ISolutionEngine
public org.pentaho.platform.api.engine.IRuntimeContext getExecutionContext()
getExecutionContext
in interface org.pentaho.platform.api.engine.ISolutionEngine
protected org.pentaho.platform.api.engine.IPentahoSession getSession()
protected org.pentaho.platform.api.engine.IRuntimeContext getRuntime()
protected void setRuntime(org.pentaho.platform.api.engine.IRuntimeContext runtime)
public org.pentaho.platform.api.engine.IRuntimeContext execute(String actionPath, String processId, boolean async, boolean instanceEnds, String instanceId, boolean isPersisted, Map parameterProviderMap, org.pentaho.platform.api.engine.IOutputHandler outputHandler, org.pentaho.platform.api.engine.IActionCompleteListener pListener, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
execute
in interface org.pentaho.platform.api.engine.ISolutionEngine
public org.pentaho.platform.api.engine.IRuntimeContext execute(String actionSequenceXML, String sequencePath, String processId, boolean async, boolean instanceEnds, String instanceId, boolean isPersisted, Map parameterProviderMap, org.pentaho.platform.api.engine.IOutputHandler outputHandler, org.pentaho.platform.api.engine.IActionCompleteListener pListener, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
execute
in interface org.pentaho.platform.api.engine.ISolutionEngine
protected org.pentaho.platform.api.engine.IRuntimeContext execute(String actionPath, String processId, boolean async, boolean instanceEnds, String instanceId, boolean isPersisted, Map parameterProviderMap, org.pentaho.platform.api.engine.IOutputHandler outputHandler, org.pentaho.platform.api.engine.IActionCompleteListener pListener, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages, String actionSequenceXML)
public org.pentaho.platform.api.engine.IRuntimeContext execute(org.pentaho.platform.api.engine.IRuntimeContext pRuntime, String actionPath, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap, org.pentaho.platform.api.engine.IOutputHandler outputHandler)
execute
in interface org.pentaho.platform.api.engine.ISolutionEngine
protected org.pentaho.platform.api.engine.IRuntimeContext executeInternal(String sequencePath, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap)
protected org.pentaho.platform.api.engine.IRuntimeContext executeInternal(String sequencePath, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap, String actionSequenceXML)
protected void createRuntime(org.pentaho.platform.api.repository.IRuntimeElement runtimeData, String solutionName, org.pentaho.platform.api.engine.IOutputHandler outputHandler, String processId, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory)
public void setForcePrompt(boolean forcePrompt)
setForcePrompt
in interface org.pentaho.platform.api.engine.ISolutionEngine
public void setParameterXsl(String xsl)
setParameterXsl
in interface org.pentaho.platform.api.engine.ISolutionEngine
protected void applyParameterMappers(Map parameterProviderMap)
parameterProviderMap
- public void setCreateFeedbackParameterCallback(org.pentaho.platform.api.engine.ICreateFeedbackParameterCallback callback)
setCreateFeedbackParameterCallback
in interface org.pentaho.platform.api.engine.ISolutionEngine
protected org.pentaho.platform.api.engine.ICreateFeedbackParameterCallback getCreateFeedbackParameterCallback()
Copyright © 2019 Hitachi Vantara. All rights reserved.