public static enum Engine.Mode extends java.lang.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 |
|---|---|
java.util.List<AnalysisPhase> |
getPhases()
Returns the phases for this mode.
|
static Engine.Mode |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.util.List<AnalysisPhase> getPhases()
Copyright© 2012-21 Jeremy Long. All Rights Reserved.