public class SolutionEngine extends PentahoMessenger implements ISolutionEngine, IPentahoInitializer
Modifier and Type | Field and Description |
---|---|
protected IRuntimeContext |
runtime |
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
RUNTIME_SOLUTION_NAME
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
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(IRuntimeElement runtimeData,
String solutionName,
IOutputHandler outputHandler,
String processId,
IPentahoUrlFactory urlFactory) |
IRuntimeContext |
execute(IRuntimeContext pRuntime,
String actionPath,
String processId,
boolean async,
boolean instanceEnds,
Map parameterProviderMap,
IOutputHandler outputHandler) |
IRuntimeContext |
execute(String actionPath,
String processId,
boolean async,
boolean instanceEnds,
String instanceId,
boolean isPersisted,
Map parameterProviderMap,
IOutputHandler outputHandler,
IActionCompleteListener pListener,
IPentahoUrlFactory urlFactory,
List messages) |
protected IRuntimeContext |
execute(String actionPath,
String processId,
boolean async,
boolean instanceEnds,
String instanceId,
boolean isPersisted,
Map parameterProviderMap,
IOutputHandler outputHandler,
IActionCompleteListener pListener,
IPentahoUrlFactory urlFactory,
List messages,
String actionSequenceXML) |
IRuntimeContext |
execute(String actionSequenceXML,
String sequencePath,
String processId,
boolean async,
boolean instanceEnds,
String instanceId,
boolean isPersisted,
Map parameterProviderMap,
IOutputHandler outputHandler,
IActionCompleteListener pListener,
IPentahoUrlFactory urlFactory,
List messages) |
protected IRuntimeContext |
executeInternal(String sequencePath,
String processId,
boolean async,
boolean instanceEnds,
Map parameterProviderMap) |
protected IRuntimeContext |
executeInternal(String sequencePath,
String processId,
boolean async,
boolean instanceEnds,
Map parameterProviderMap,
String actionSequenceXML) |
protected ICreateFeedbackParameterCallback |
getCreateFeedbackParameterCallback() |
IRuntimeContext |
getExecutionContext() |
org.apache.commons.logging.Log |
getLogger() |
protected Map |
getParameterProviders() |
protected IRuntimeContext |
getRuntime() |
protected IPentahoSession |
getSession() |
int |
getStatus() |
void |
init(IPentahoSession pSession) |
void |
setCreateFeedbackParameterCallback(ICreateFeedbackParameterCallback callback) |
void |
setForcePrompt(boolean forcePrompt) |
void |
setlistener(IActionCompleteListener doneListener) |
void |
setlistener(IExecutionListener execListener) |
void |
setParameterProvider(String name,
IParameterProvider parameterProvider) |
void |
setParameterXsl(String xsl) |
protected void |
setRuntime(IRuntimeContext runtime) |
void |
setSession(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
protected IRuntimeContext runtime
public org.apache.commons.logging.Log getLogger()
getLogger
in class PentahoBase
public void init(IPentahoSession pSession)
init
in interface IPentahoInitializer
init
in interface ISolutionEngine
public void setParameterProvider(String name, IParameterProvider parameterProvider)
setParameterProvider
in interface ISolutionEngine
protected Map getParameterProviders()
public void setlistener(IActionCompleteListener doneListener)
setlistener
in interface ISolutionEngine
public void setlistener(IExecutionListener execListener)
setlistener
in interface ISolutionEngine
public void setSession(IPentahoSession session)
setSession
in interface ISolutionEngine
public int getStatus()
getStatus
in interface ISolutionEngine
public IRuntimeContext getExecutionContext()
getExecutionContext
in interface ISolutionEngine
protected IPentahoSession getSession()
protected IRuntimeContext getRuntime()
protected void setRuntime(IRuntimeContext runtime)
public IRuntimeContext execute(String actionPath, String processId, boolean async, boolean instanceEnds, String instanceId, boolean isPersisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener pListener, IPentahoUrlFactory urlFactory, List messages)
execute
in interface ISolutionEngine
public IRuntimeContext execute(String actionSequenceXML, String sequencePath, String processId, boolean async, boolean instanceEnds, String instanceId, boolean isPersisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener pListener, IPentahoUrlFactory urlFactory, List messages)
execute
in interface ISolutionEngine
protected IRuntimeContext execute(String actionPath, String processId, boolean async, boolean instanceEnds, String instanceId, boolean isPersisted, Map parameterProviderMap, IOutputHandler outputHandler, IActionCompleteListener pListener, IPentahoUrlFactory urlFactory, List messages, String actionSequenceXML)
public IRuntimeContext execute(IRuntimeContext pRuntime, String actionPath, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap, IOutputHandler outputHandler)
execute
in interface ISolutionEngine
protected IRuntimeContext executeInternal(String sequencePath, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap)
protected IRuntimeContext executeInternal(String sequencePath, String processId, boolean async, boolean instanceEnds, Map parameterProviderMap, String actionSequenceXML)
protected void createRuntime(IRuntimeElement runtimeData, String solutionName, IOutputHandler outputHandler, String processId, IPentahoUrlFactory urlFactory)
public void setForcePrompt(boolean forcePrompt)
setForcePrompt
in interface ISolutionEngine
public void setParameterXsl(String xsl)
setParameterXsl
in interface ISolutionEngine
protected void applyParameterMappers(Map parameterProviderMap)
parameterProviderMap
- public void setCreateFeedbackParameterCallback(ICreateFeedbackParameterCallback callback)
setCreateFeedbackParameterCallback
in interface ISolutionEngine
protected ICreateFeedbackParameterCallback getCreateFeedbackParameterCallback()
Copyright © 2017 Hitachi Vantara. All rights reserved.