public static enum Engine.Mode extends Enum<Engine.Mode>
Engine execution modes.| Enum Constant and Description |
|---|
EVIDENCE_COLLECTION
In evidence collection mode the
Engine only collects evidence
from the scan targets, and doesn't require a database. |
EVIDENCE_PROCESSING
In evidence processing mode the
Engine processes the evidence
collected using the EVIDENCE_COLLECTION mode. |
STANDALONE
In standalone mode the
Engine will collect and process
evidence in a single execution. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<AnalysisPhase> |
getPhases()
Returns the phases for this mode.
|
static Engine.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Engine.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Engine.Mode EVIDENCE_COLLECTION
Engine only collects evidence
from the scan targets, and doesn't require a database.public static final Engine.Mode EVIDENCE_PROCESSING
Engine processes the evidence
collected using the EVIDENCE_COLLECTION mode. Dependencies
should be injected into the Engine using
Engine.setDependencies(List).public static final Engine.Mode STANDALONE
Engine will collect and process
evidence in a single execution.public static Engine.Mode[] values()
for (Engine.Mode c : Engine.Mode.values()) System.out.println(c);
public static Engine.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.google.common.collect.ImmutableList<AnalysisPhase> getPhases()
Copyright © 2012–2020 OWASP. All rights reserved.