public class CommandLineBootstrap extends Object
Constructor and Description |
---|
CommandLineBootstrap(CommandLine cmdLineArgs) |
Modifier and Type | Method and Description |
---|---|
protected static void |
checkForUpdates() |
protected static void |
disableStdOutLog() |
protected CommandLine |
getArgs()
Gets the command line arguments.
|
protected ControlOverrides |
getControlOverrides()
Gets the control overrides.
|
protected org.apache.logging.log4j.Logger |
getLogger()
Gets the logger of the class.
|
protected static String |
getStartingMessage()
Gets ZAP's starting message.
|
protected boolean |
handleCmdLineSessionArgsSynchronously(Control control)
Handles command line session related arguments, synchronously.
|
protected Control |
initControl()
Initialises the
Control singleton without view and proxy. |
protected void |
initModel()
Initialises the model, all bootstrap implementations should call this method after base
start() . |
int |
start()
Starts the bootstrap process.
|
protected void |
warnAddOnsAndExtensionsNoLongerRunnable()
Warns, through logging, about add-ons and extensions that are no longer runnable because of
changes in its dependencies.
|
public CommandLineBootstrap(CommandLine cmdLineArgs)
public int start()
protected org.apache.logging.log4j.Logger getLogger()
null
.protected Control initControl()
Control
singleton without view and proxy.Control
singleton.Control.initSingletonWithoutViewAndProxy(org.zaproxy.zap.control.ControlOverrides)
protected boolean handleCmdLineSessionArgsSynchronously(Control control)
control
- the Control
singletontrue
if the arguments were handled successfully, false
otherwise.protected void warnAddOnsAndExtensionsNoLongerRunnable()
protected static void checkForUpdates()
protected static void disableStdOutLog()
protected void initModel() throws Exception
start()
.protected CommandLine getArgs()
protected ControlOverrides getControlOverrides()
Control
and Model
singletons.protected static String getStartingMessage()