@Override
    protected boolean doSetValue(String value) {
        try {
            this.value = Integer.parseInt(value);
            return true;
        } catch (NumberFormatException e) {
            return false;
        }
    }
The IntegerNode class represents an integer in a configuration tree.
config-lib/src/main/java/com/yahoo/config/IntegerNode.java