public final boolean executeCommand(final String args) {
final int index = args.indexOf('=');
final String dots = args.substring(0, index).trim();
String value = args.substring(index + 1).trim();
final PropertyEntry entry = PropertyConstraints.getInstance()
.findEntry(dots);
if (entry == null) {
throw new AnalystError("Unknown property: " + args.toUpperCase());
}
// strip quotes
if (value.charAt(0) == '\"') {
value = value.substring(1);
}
if (value.endsWith("\"")) {
value = value.substring(0, value.length() - 1);
}
final String[] cols = dots.split("\\.");
final String section = cols[0];
final String subSection = cols[1];
final String name = cols[2];
entry.validate(section, subSection, name, value);
getProp().setProperty(entry.getKey(), value);
return false;
}