Class ProcessingResultSuccess

    • Constructor Detail

      • ProcessingResultSuccess

        public ProcessingResultSuccess​(String errorCode,
                                       String errorMessage)
      • ProcessingResultSuccess

        public ProcessingResultSuccess​(String errorCode,
                                       Throwable error)
      • ProcessingResultSuccess

        public ProcessingResultSuccess​(boolean success)
    • Method Detail

      • getPlaceholderValue

        public String getPlaceholderValue​(int index,
                                          String key)
        Description copied from interface: IProcessingResult
        In general, the result of an action is a List of Maps. This return the value at a given index and key.
        Specified by:
        getPlaceholderValue in interface IProcessingResult
        Parameters:
        index - Index at which to retrieve the processing result value.
        key - Key at which to retrieve the processing result value.
        Returns:
        The processing result value at the given index and key.
      • getValuesCount

        public int getValuesCount()
        Specified by:
        getValuesCount in interface IProcessingResult
        Returns:
        The number of values the workflow action returned.
      • setErrorCode

        public void setErrorCode​(String errorCode)
        Parameters:
        errorCode - the errorCode to set
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
        Parameters:
        errorMessage - the errorMessage to set