Class ProcessingResultImpl

  • All Implemented Interfaces:
    ProcessingResult

    public class ProcessingResultImpl
    extends java.lang.Object
    implements ProcessingResult
    Stores the result of a value resolution.
    • Constructor Detail

      • ProcessingResultImpl

        public ProcessingResultImpl​(@NotNull
                                    java.lang.String result,
                                    boolean modified,
                                    boolean fullyResolved)
    • Method Detail

      • isModified

        public boolean isModified()
        Specified by:
        isModified in interface ProcessingResult
        Returns:
        true, if the value was modified in the course of resolution attempt.
      • getResult

        @NotNull
        public java.lang.String getResult()
        Specified by:
        getResult in interface ProcessingResult
        Returns:
        the value in the resolved form or the same as input value if isModified is false.
      • isFullyResolved

        public boolean isFullyResolved()
        Specified by:
        isFullyResolved in interface ProcessingResult
        Returns:
        true, if the value is fully resolved by the processor
      • setModified

        public void setModified​(boolean modified)
      • setResult

        public void setResult​(@NotNull
                              java.lang.String result)
      • setFullyResolved

        public void setFullyResolved​(boolean fullyResolved)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object