Interface DecisionActivity

    • 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

        DecisionStatement getDecisionStatement​(long decisionID)
        Returns the statement that is associated with the given decision ID. If you want it localised, wrap it appropriately.
        Parameters:
        decisionID - The decision ID
        Returns:
        The decision statement 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.
      • getDecisionID

        long[] getDecisionID​(long edgeCode)
        Returns the decision ID for the given edge code.
        Parameters:
        edgeCode - The edge code for which the decision ID is needed.
        Returns:
        The decision ID for the given edge code
      • getEdgeCode

        long getEdgeCode​(long decisionID)
        Returns the edge code for the given decision ID.
        Parameters:
        decisionID - The decision ID for which the edge code is needed.
        Returns:
        The edge code for the given decision ID