public interface IComponent extends IAuditable, ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
Modifier and Type | Method and Description |
---|---|
void |
done()
Allows the component to perform any cleanup after the execution of the action.
|
int |
execute()
Perform the Component execution; logic for what this Component does goes here.
|
org.pentaho.actionsequence.dom.IActionDefinition |
getActionDefinition() |
String |
getActionName()
Return the name of the action sequence.
|
org.dom4j.Node |
getComponentDefinition() |
String |
getInstanceId() |
List |
getMessages() |
String |
getProcessId()
Return the id for the execution of a given action sequence document.
|
IRuntimeContext |
getRuntimeContext() |
IPentahoSession |
getSession() |
boolean |
init()
Initialize the Component.
|
void |
setActionDefinition(org.pentaho.actionsequence.dom.IActionDefinition actionDefinition) |
void |
setActionName(String actionName) |
void |
setComponentDefinition(org.dom4j.Node componentDefinition) |
void |
setComponentDefinitionMap(Map<String,String> componentDefinitionMap) |
void |
setInstanceId(String instanceId) |
void |
setMessages(List messaes) |
void |
setProcessId(String processId) |
void |
setRuntimeContext(IRuntimeContext runtimeContext) |
void |
setSession(IPentahoSession session) |
int |
validate()
Validate that the Component has all the necessary inputs, outputs and resources it needs to execute
successfully.
|
getId, getObjectName
boolean init()
int validate()
IRuntimeContext
int execute()
IRuntimeContext
void done()
void setInstanceId(String instanceId)
String getInstanceId()
void setActionName(String actionName)
String getActionName()
IAuditable
getActionName
in interface IAuditable
void setProcessId(String processId)
String getProcessId()
IAuditable
getProcessId
in interface IAuditable
void setComponentDefinition(org.dom4j.Node componentDefinition)
org.dom4j.Node getComponentDefinition()
void setRuntimeContext(IRuntimeContext runtimeContext)
IRuntimeContext getRuntimeContext()
void setSession(IPentahoSession session)
IPentahoSession getSession()
void setMessages(List messaes)
List getMessages()
void setActionDefinition(org.pentaho.actionsequence.dom.IActionDefinition actionDefinition)
org.pentaho.actionsequence.dom.IActionDefinition getActionDefinition()
Copyright © 2020 Hitachi Vantara. All rights reserved.