Package com.orchestranetworks.addon.dpra.indicator
package com.orchestranetworks.addon.dpra.indicator
Provides classes and interfaces to perform operations on indicators.
The main class of this package isIndicatorOperations
, which performs the operations about indicators including: execution and retrieving execution results.
Sample code to execute an indicator:
-
Get an instance of
IndicatorOperations
:final IndicatorOperations indicatorOperations = OperationsFactory.getInstance() .getIndicatorOperations(session);
-
Execute an indicator and get the result:
final IndicatorExecution result = operations.execute(indicatorId);
Sample code to retrieve indicator execution results:
-
Get an instance of
IndicatorOperations
:final IndicatorOperations indicatorOperations = OperationsFactory.getInstance() .getIndicatorOperations(session);
-
Create query parameter:
final QueryParam queryParam = new QueryParam(); queryParam.setOrderByExecutionDate(Order.DESC);
-
Get indicator execution results:
final List<IndicatorExecution> results = operations.getIndicatorExecutions(indicatorId, queryParam);
Sample code to retrieve the last indicator execution result:
-
Get an instance of
IndicatorOperations
:final IndicatorOperations indicatorOperations = OperationsFactory.getInstance() .getIndicatorOperations(session);
-
Get the last indicator execution result:
final IndicatorExecution result = operations.getLastIndicatorExecution(indicatorId);
-
ClassDescriptionAn indicator execution.Output result of an indicator execution.Provides indicator execution operations for the EBX™ Insight Add-on.Provides a way to define query parameters for executing an indicator.