MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / initModel

Method initModel

zap/src/main/java/org/zaproxy/zap/ZapBootstrap.java:105–108  ·  view source on GitHub ↗

Initialises the model, all bootstrap implementations should call this method after base start(). @throws Exception if an error occurs while initialising the Model @see #start() @see Model

()

Source from the content-addressed store, hash-verified

103 * @see Model
104 */
105 protected void initModel() throws Exception {
106 Model.getSingleton().init(getControlOverrides());
107 Model.getSingleton().getOptionsParam().setGUI(getArgs().isGUI());
108 }
109
110 /**
111 * Gets the command line arguments.

Callers

nothing calls this directly

Calls 7

getSingletonMethod · 0.95
getControlOverridesMethod · 0.95
getArgsMethod · 0.95
initMethod · 0.65
setGUIMethod · 0.45
getOptionsParamMethod · 0.45
isGUIMethod · 0.45

Tested by

no test coverage detected