Class CodeMirrorLintResult

  • All Implemented Interfaces:
    Serializable

    public final class CodeMirrorLintResult
    extends Object
    implements Serializable
    Result for the server side linting callback of code mirror, see the script function Formcycle.CodeMirror.setupLinting
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • CodeMirrorLintResult

        public CodeMirrorLintResult()
    • Method Detail

      • addError

        public void addError​(String message,
                             int fromLine,
                             int fromColumn,
                             int toLine,
                             int toColumn)
      • addInfo

        public void addInfo​(String message,
                            int fromLine,
                            int fromColumn,
                            int toLine,
                            int toColumn)
      • addMessage

        public void addMessage​(FCMessage.ESeverity severity,
                               String message,
                               int fromLine,
                               int fromColumn,
                               int toLine,
                               int toColumn)
      • addWarning

        public void addWarning​(String message,
                               int fromLine,
                               int fromColumn,
                               int toLine,
                               int toColumn)
      • getAnnotations

        public List<de.xima.fc.gui.common.model.CodeMirrorLintResult.Annotation> getAnnotations()
      • setAnnotations

        public void setAnnotations​(List<de.xima.fc.gui.common.model.CodeMirrorLintResult.Annotation> annotations)
      • toJsonString

        public String toJsonString()