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

Method getPurchaseMethodByName

code/src/java/pcgen/core/GameMode.java:1199–1203  ·  view source on GitHub ↗

Find a user-defined purchase method by name. @param methodName @return the purchase method or null

(final String methodName)

Source from the content-addressed store, hash-verified

1197 * @return the purchase method or null
1198 */
1199 public PointBuyMethod getPurchaseMethodByName(final String methodName)
1200 {
1201 return getModeContext().getReferenceContext().silentlyGetConstructedCDOMObject(PointBuyMethod.class,
1202 methodName);
1203 }
1204
1205 /**
1206 * Set the purchase mode method name.

Callers 3

isPurchaseStatModeMethod · 0.95
onCopyMethod · 0.95

Calls 3

getModeContextMethod · 0.95
getReferenceContextMethod · 0.65

Tested by

no test coverage detected