Class CnfItem

java.lang.Object
io.deephaven.config.CnfItem

public class CnfItem extends Object
CnfItem:

This object contains all the state connected to a single cluster.cnf key

We'll keep track of where we saw each item, so we can easily give useful error messages.

  • Method Details

    • isTruthy

      public static boolean isTruthy(CnfItem item)
    • getKey

      public String getKey()
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position)
    • getRetention

      public CnfRetention getRetention()
    • setRetention

      public void setRetention(CnfRetention retention)
    • isDefaultValue

      public boolean isDefaultValue()
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • describe

      public String describe()
    • updateTo

      public boolean updateTo(String newValue)
    • updateTo

      public void updateTo(String newValue, CnfRetention newItemType, int newItemPosition)
    • isUnconsumed

      public boolean isUnconsumed()
    • isConsumed

      public boolean isConsumed()
    • setConsumed

      public void setConsumed(boolean consumed)
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • getDefaultValue

      public String getDefaultValue()
    • isEnvironmentOverride

      public boolean isEnvironmentOverride()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • printComments

      public void printComments(StringBuilder b, boolean maybeNewline)
    • getComments

      public String getComments()
    • addComments

      public void addComments(String comments)