Enum Engine.Mode
- All Implemented Interfaces:
Serializable, Comparable<Engine.Mode>
- Enclosing class:
Engine
Engine execution modes.- Author:
- Jeremy Long
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn evidence collection mode theEngineonly collects evidence from the scan targets, and doesn't require a database.In evidence processing mode theEngineprocesses the evidence collected using theEVIDENCE_COLLECTIONmode.In standalone mode theEnginewill collect and process evidence in a single execution. -
Method Summary
Modifier and TypeMethodDescriptionReturns the phases for this mode.static Engine.ModeReturns 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.
-
Enum Constant Details
-
EVIDENCE_COLLECTION
In evidence collection mode theEngineonly collects evidence from the scan targets, and doesn't require a database. -
EVIDENCE_PROCESSING
In evidence processing mode theEngineprocesses the evidence collected using theEVIDENCE_COLLECTIONmode. Dependencies should be injected into theEngineusingEngine.setDependencies(List). -
STANDALONE
In standalone mode theEnginewill collect and process evidence in a single execution.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPhases
Returns the phases for this mode.- Returns:
- the phases for this mode
-