physicalThreatLevel = newValue;
}
}
};
myConfig.register("physicalThreatLevel", "NORMAL", sortOrder++, false, true, "SecurityLevels.physicalThreatLevelShort", "SecurityLevels.physicalThreatLevel", physicalThreatLevelCallback);
PHYSICAL_THREAT_LEVEL physLevel = PHYSICAL_THREAT_LEVEL.valueOf(myConfig.getString("physicalThreatLevel"));
if(myConfig.getRawOption("physicalThreatLevel") != null) {
physicalThreatLevel = physLevel;
} else {
// Call all the callbacks so that the config is consistent with the threat level.