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).
Method Summary
public void
done() Allows the component to perform any cleanup after the execution of the
action.
public int
execute() Perform the Component execution; logic for what this Component does goes
here.
Perform the Component execution; logic for what this Component does goes
here.
one of IRuntimeContext execution conditions See Also:org.pentaho.core.runtime.IRuntimeContext
getActionDefinition
public ActionDefinition getActionDefinition()(Code)
Initialize the Component. This method is typically called on
construction.
returns true if the Component initialized successfully, otherwisereturns false
setActionDefinition
public void setActionDefinition(ActionDefinition actionDefinition)(Code)
setActionName
public void setActionName(String actionName)(Code)
setComponentDefinition
public void setComponentDefinition(Node componentDefinition)(Code)
setInstanceId
public void setInstanceId(String instanceId)(Code)
Validate that the Component has all the necessary inputs, outputs and
resources it needs to execute successfully. Also may validate a schema
here.
one of IRuntimeContext validation conditions See Also:org.pentaho.core.runtime.IRuntimeContext