Package io.deephaven.config
Class CnfItem
java.lang.Object
io.deephaven.config.CnfItem
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 Summary
Modifier and TypeMethodDescriptionvoidaddComments(String comments) describe()booleangetKey()intgetValue()inthashCode()booleanbooleanbooleanstatic booleanbooleanvoidprintComments(StringBuilder b, boolean maybeNewline) voidsetConsumed(boolean consumed) voidsetDefaultValue(String defaultValue) voidsetPosition(int position) voidsetRetention(CnfRetention retention) voidtoString()booleanvoidupdateTo(String newValue, CnfRetention newItemType, int newItemPosition)
-
Method Details
-
isTruthy
-
getKey
-
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
getRetention
-
setRetention
-
isDefaultValue
public boolean isDefaultValue() -
getValue
-
setValue
-
describe
-
updateTo
-
updateTo
-
isUnconsumed
public boolean isUnconsumed() -
isConsumed
public boolean isConsumed() -
setConsumed
public void setConsumed(boolean consumed) -
setDefaultValue
-
getDefaultValue
-
isEnvironmentOverride
public boolean isEnvironmentOverride() -
equals
-
hashCode
public int hashCode() -
toString
-
printComments
-
getComments
-
addComments
-