Class SimpleDecision

    • Constructor Detail

      • SimpleDecision

        public SimpleDecision​(int workflowId,
                              java.util.Map<java.lang.String,​java.io.Serializable> workflowContext,
                              java.lang.String messageKey,
                              java.security.Principal actor)
        Constructs a new SimpleDecision assigned to a specified actor.
        Parameters:
        workflowId - the parent workflow id to set
        workflowContext - the parent workflow context to set
        messageKey - the message key that describes the Decision, which will be presented in the UI
        actor - the Principal (e.g., WikiPrincipal, GroupPrincipal, Role) who will decide