Class ValidationMessage


  • @Portable
    public class ValidationMessage
    extends Object
    • Constructor Detail

      • ValidationMessage

        public ValidationMessage()
      • ValidationMessage

        public ValidationMessage​(long id,
                                 Level level,
                                 org.uberfire.backend.vfs.Path path,
                                 int line,
                                 int column,
                                 String text)
      • ValidationMessage

        public ValidationMessage​(long id,
                                 Level level,
                                 int line,
                                 int column,
                                 String text)
      • ValidationMessage

        public ValidationMessage​(Level level,
                                 String text)
    • Method Detail

      • setId

        public void setId​(long id)
      • setLevel

        public void setLevel​(Level level)
      • setPath

        public void setPath​(org.uberfire.backend.vfs.Path path)
      • setLine

        public void setLine​(int line)
      • setColumn

        public void setColumn​(int column)
      • setText

        public void setText​(String text)
      • getId

        public long getId()
      • getLevel

        public Level getLevel()
      • getPath

        public org.uberfire.backend.vfs.Path getPath()
      • getLine

        public int getLine()
      • getColumn

        public int getColumn()
      • getText

        public String getText()
      • equals

        public boolean equals​(Object o)
        Check whether two Messages are equivalent. Property "id" is not used in the comparison as it is inconsistent for identical error messages generated in a different sequence during validation by the underlying KieBuilder.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        HashCode implementation fo Messages. Property "id" is not used in the generation as it is inconsistent for identical error messages generated in a different sequence during validation by the underlying KieBuilder.
        Overrides:
        hashCode in class Object