Class ErrorReport

java.lang.Object
jadex.bpmn.model.io.ErrorReport
All Implemented Interfaces:
jadex.model.IErrorReport, Serializable

public class ErrorReport extends Object implements jadex.model.IErrorReport
Error report that holds information about model errors.
See Also:
  • Field Details

    • errtext

      protected String errtext
      The error text.
    • errhtml

      protected String errhtml
      The error html text.
    • documents

      protected Map<String,String> documents
      The external reports.
  • Constructor Details

    • ErrorReport

      public ErrorReport()
    • ErrorReport

      public ErrorReport(String errtext, String errhtml, Map documents)
  • Method Details

    • getErrorText

      public String getErrorText()
      Get the text representation of the report.
      Specified by:
      getErrorText in interface jadex.model.IErrorReport
      Returns:
      The text.
    • setErrorText

      public void setErrorText(String errtext)
      Set the errtext.
      Parameters:
      errtext - The errtext to set.
    • getErrorHTML

      public String getErrorHTML()
      Get the html representation of the report.
      Specified by:
      getErrorHTML in interface jadex.model.IErrorReport
      Returns:
      The html string.
    • setErrorHTML

      public void setErrorHTML(String errhtml)
      Set the errhtml.
      Parameters:
      errhtml - The errhtml to set.
    • getDocuments

      public Map<String,String> getDocuments()
      Get the external documents. (model -> report)
      Specified by:
      getDocuments in interface jadex.model.IErrorReport
      Returns:
      The external documents.
    • setDocuments

      public void setDocuments(Map<String,String> documents)
      Set the documents.
      Parameters:
      documents - The documents to set.