MCPcopy Create free account
hub / github.com/PCGen/pcgen / getRuleCheck

Method getRuleCheck

code/src/java/pcgen/core/SettingsHandler.java:839–848  ·  view source on GitHub ↗

Gets this PC's choice on a Rule @param aKey @return true or false

(final String aKey)

Source from the content-addressed store, hash-verified

837 * @return true or false
838 **/
839 public static boolean getRuleCheck(final String aKey)
840 {
841 if (ruleCheckMap.containsKey(aKey))
842 {
843 final String aVal = ruleCheckMap.get(aKey);
844 return aVal.equals("Y");
845 }
846
847 return false;
848 }
849
850 /**
851 * save the outputsheet location with the PC?

Callers 2

HouseRulesPanelMethod · 0.95
checkRuleMethod · 0.95

Calls 3

containsKeyMethod · 0.65
getMethod · 0.65
equalsMethod · 0.65

Tested by

no test coverage detected