super.overrideCommandWithConfigurationFile();
if (!hasValidConfigurationFile()) return;
Command command = getCommand();
Properties props = command.getProperties();
// props should never be null
assert props != null;
if (props.containsKey(AUTOSTART_PROP_KEY)) {
boolean autostartValue = Boolean.parseBoolean(
props.getProperty(AUTOSTART_PROP_KEY));
command.setAutostart(autostartValue);
}
}