|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IComponent
A Component is the smallest module in the platform architecture and represents a unit of work, or an action to be performed. Different Component implementations provide new channels of functionality as well as multiple implementations of similar features (.ie, the BIRT Reporting Component and the Jasper Reports Reporting Component).
Field Summary |
---|
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
---|
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.pentaho.platform.api.engine.IAuditable |
---|
getId, getObjectName |
Methods inherited from interface org.pentaho.platform.api.engine.ILogger |
---|
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
Method Detail |
---|
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)
void setComponentDefinitionMap(Map<String,String> componentDefinitionMap)
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |