Class JustificationDepth

java.lang.Object
com.aquima.interactions.rule.JustificationDepth
All Implemented Interfaces:
Serializable

public final class JustificationDepth extends Object implements Serializable
Enumerated type class that may be used to specify the depth of the justification tree.
Since:
5.1
Author:
O. Kerpershoek
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final JustificationDepth
    This detail level may be used to display all the justifications of all the attributes that contributed somehow in the evaluation of our main attribute.
    static final JustificationDepth
    This detail level may be used to display only the justifications of the main attribute.
    static final JustificationDepth
    This detail level may be used to display the justifications of the main attributes, and the justifications of the attributes that were directly used to source it's value.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    This method returns a descriptive name of the detail level.
    int
     
    This method may be used to get the static definition of a detail level by name.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PRIMARY

      public static final JustificationDepth PRIMARY
      This detail level may be used to display only the justifications of the main attribute.
    • SECONDARY

      public static final JustificationDepth SECONDARY
      This detail level may be used to display the justifications of the main attributes, and the justifications of the attributes that were directly used to source it's value.
    • ALL

      public static final JustificationDepth ALL
      This detail level may be used to display all the justifications of all the attributes that contributed somehow in the evaluation of our main attribute.
  • Method Details

    • valueOf

      public static JustificationDepth valueOf(String name)
      This method may be used to get the static definition of a detail level by name. If an invalid or unknown name is supplied, this method will throw an invalid argument exception.
      Parameters:
      name - The name for which the static detail level is requested.
      Returns:
      The static detail level for the specified name.
    • getName

      public String getName()
      This method returns a descriptive name of the detail level.
      Returns:
      a descriptive name of the detail level.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object