Package com.orchestranetworks.addon.dqid
Class WorkflowIndicator
java.lang.Object
com.orchestranetworks.addon.dqid.Indicator
com.orchestranetworks.addon.dqid.WorkflowIndicator
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
DefaultWorkflowIndicator
This abstract class must be extended to define the behavior of an indicator run on a workflow.
Note that workflow indicators are executed based on the permissions of the user executing them. This means that if a user with no access permissions executes an indicator on a workflow publication, the indicator will provide no result.
The creator of the workflow model must specify a user or role in the workflow model permissions, under Workflow model configuration > Permission > Administration of workflows and re-publish the model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract IndicatorReport
execute
(WorkflowIndicatorExecutionContext executionContext) Defines what the indicator will do.Methods inherited from class com.orchestranetworks.addon.dqid.Indicator
getDefinition, getFlatDataAccessor, getIndicatorDefinitionContext, getIndicatorReportAccessor, getPrimaryKeyOrNullOfExistingIndicatorReport, getPrimaryKeyOrNullOfExistingIndicatorReportInBigDataTable, getPrimaryKeysOfExistingIndicatorValueParts
-
Constructor Details
-
WorkflowIndicator
public WorkflowIndicator()
-
-
Method Details
-
execute
public abstract IndicatorReport execute(WorkflowIndicatorExecutionContext executionContext) throws DQIdException Defines what the indicator will do.- Parameters:
executionContext
- theWorkflowIndicatorExecutionContext
specific to one execution.- Returns:
- an
IndicatorReport
containing the values to save. - Throws:
DQIdException
-