Class Decision.Single

    • Method Detail

      • label

        @Nullable
        public java.lang.String label()
        Description copied from class: Decision
        Get the description label for this decision.
        Specified by:
        label in class Decision
      • getDecisions

        public java.util.List<Decision> getDecisions()
        Description copied from class: Decision
        Return the list of all decisions that make up this decision
        Specified by:
        getDecisions in class Decision
      • getExplanation

        @Nullable
        public java.lang.String getExplanation()
        Returns the explanation string, fully formatted. Only formats the string once.
        Specified by:
        getExplanation in class Decision
      • equals

        public boolean equals​(java.lang.Object object)
        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
      • writeTo

        public void writeTo​(StreamOutput out)
                     throws java.io.IOException
        Description copied from interface: Writeable
        Write this into the StreamOutput.
        Throws:
        java.io.IOException