Package de.xima.fc.mdl.enums
Enum EMalwareScanOutcome
- All Implemented Interfaces:
Serializable
,Comparable<EMalwareScanOutcome>
Enumerates the possible outcomes of a malware scan.
- Since:
- 7.0.13
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContent type verification failed (file content doesn't match file extension).No malware signatures were detected despite best efforts.No scan could be performed because no scanner is available.At least one potential malware signature was found.Scanning failed due to an unhandled exception. -
Method Summary
Modifier and TypeMethodDescriptionboolean
in
(EMalwareScanOutcome... elements) static EMalwareScanOutcome
Returns the enum constant of this type with the specified name.static EMalwareScanOutcome[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NO_SCANNER_AVAILABLE
No scan could be performed because no scanner is available. -
POTENTIAL_MALWARE_SIGNATURE_FOUND
At least one potential malware signature was found. It may be a false positive, but the file or data should be considered unsafe. -
NO_MALWARE_DETECTED
No malware signatures were detected despite best efforts. Note that false negatives are possible, but to our best knowledge, the file or data is safe. -
SCAN_FAILURE
Scanning failed due to an unhandled exception. -
INVALID_FILE_EXTENSION
Content type verification failed (file content doesn't match file extension).
-
-
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
-
in
- Parameters:
elements
- the enum elements for the 'in' check- Returns:
- true if
this
is contained in the provided enum elements, false otherwise.
-