Interface DecisionActivityInstance

    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        Generated ID for serialisation.
        See Also:
        Constant Field Values
    • Method Detail

      • getDecisionLabel

        String getDecisionLabel​(long decisionID)
        Returns the label which is associated with the given decision ID. The decision label is not localised. If you need the localised label use getDecisionStatements().
        Parameters:
        decisionID - The decision ID.
        Returns:
        The (non-localised) label for the given decision ID.
      • getDecisionStatement

        String getDecisionStatement​(long decisionID)
        Returns the statement that is associated with the given decision ID. The statement is not localised. If you need the localised label use getDecisionStatements().
        Parameters:
        decisionID - The decision ID
        Returns:
        A (non localised) statement string for the given decision ID
      • getDecisionIDs

        long[] getDecisionIDs()
        Returns all possible decision IDs, i.e. all possible return values of the parameter.
        Returns:
        The decision IDs.
      • getDecisionStatements

        Map<Long,​DecisionStatement> getDecisionStatements()
        Gets all decision statements of this decision activity instance indexed by the corresponding decision ID. The returned decision statement instances may be subject of localisation, the caller needs to wrap them appropriately for this.
        Returns:
        A map of all decision statements of this decision activity instance indexed by the corresponding decision ID.