org.camunda.bpm.engine.history
Interface HistoricDecisionInstance

All Known Implementing Classes:
HistoricDecisionInstanceEntity

public interface HistoricDecisionInstance

Represents one evaluation of a decision.

Author:
Philipp Ossler

Method Summary
 String getActivityId()
          The corresponding activity in case the decision was evaluated inside a process or a case.
 String getActivityInstanceId()
          The corresponding activity instance in case the decision was evaluated inside a process or a case.
 String getCaseDefinitionId()
          The corresponding id of the case definition in case the decision was evaluated inside a case.
 String getCaseDefinitionKey()
          The corresponding key of the case definition in case the decision was evaluated inside a case.
 String getCaseInstanceId()
          The corresponding case instance in case the decision was evaluated inside a case.
 Double getCollectResultValue()
          The result of the collect operation if the hit policy 'collect' was used for the decision.
 String getDecisionDefinitionId()
          The decision definition reference.
 String getDecisionDefinitionKey()
          The unique identifier of the decision definition
 String getDecisionDefinitionName()
          The name of the decision definition
 Date getEvaluationTime()
          Time when the decision was evaluated.
 String getId()
          The unique identifier of this historic decision instance.
 List<HistoricDecisionInputInstance> getInputs()
          The input values of the evaluated decision.
 List<HistoricDecisionOutputInstance> getOutputs()
          The output values of the evaluated decision.
 String getProcessDefinitionId()
          The corresponding id of the process definition in case the decision was evaluated inside a process.
 String getProcessDefinitionKey()
          The corresponding key of the process definition in case the decision was evaluated inside a process.
 String getProcessInstanceId()
          The corresponding process instance in case the decision was evaluated inside a process.
 

Method Detail

getId

String getId()
The unique identifier of this historic decision instance.


getDecisionDefinitionId

String getDecisionDefinitionId()
The decision definition reference.


getDecisionDefinitionKey

String getDecisionDefinitionKey()
The unique identifier of the decision definition


getDecisionDefinitionName

String getDecisionDefinitionName()
The name of the decision definition


getEvaluationTime

Date getEvaluationTime()
Time when the decision was evaluated.


getProcessDefinitionKey

String getProcessDefinitionKey()
The corresponding key of the process definition in case the decision was evaluated inside a process.


getProcessDefinitionId

String getProcessDefinitionId()
The corresponding id of the process definition in case the decision was evaluated inside a process.


getProcessInstanceId

String getProcessInstanceId()
The corresponding process instance in case the decision was evaluated inside a process.


getCaseDefinitionKey

String getCaseDefinitionKey()
The corresponding key of the case definition in case the decision was evaluated inside a case.


getCaseDefinitionId

String getCaseDefinitionId()
The corresponding id of the case definition in case the decision was evaluated inside a case.


getCaseInstanceId

String getCaseInstanceId()
The corresponding case instance in case the decision was evaluated inside a case.


getActivityId

String getActivityId()
The corresponding activity in case the decision was evaluated inside a process or a case.


getActivityInstanceId

String getActivityInstanceId()
The corresponding activity instance in case the decision was evaluated inside a process or a case.


getInputs

List<HistoricDecisionInputInstance> getInputs()
The input values of the evaluated decision. The fetching of the input values must be enabled on the query.

Throws:
ProcessEngineException - if the input values are not fetched.
See Also:
HistoricDecisionInstanceQuery.includeInputs()

getOutputs

List<HistoricDecisionOutputInstance> getOutputs()
The output values of the evaluated decision. The fetching of the output values must be enabled on the query.

Throws:
ProcessEngineException - if the output values are not fetched.
See Also:
HistoricDecisionInstanceQuery.includeOutputs()

getCollectResultValue

Double getCollectResultValue()
The result of the collect operation if the hit policy 'collect' was used for the decision.



Copyright © 2015 camunda services GmbH. All rights reserved.