Class MalwareScanResult
- java.lang.Object
-
- de.xima.fc.e2e.containerplugin.model.MalwareScanResult
-
- All Implemented Interfaces:
IMalwareScanResult,Serializable
public final class MalwareScanResult extends Object implements IMalwareScanResult
Simple POJO implementation of the data typeIMalwareScanResult.- Author:
- unspecified
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalwareScanResult(boolean malwareDetected, String detailMessage)Creates a new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetailMessage()booleanisWasMalwareDetected()
-
-
-
Constructor Detail
-
MalwareScanResult
public MalwareScanResult(boolean malwareDetected, String detailMessage)Creates a new POJO with the given data.- Parameters:
malwareDetected- The value forIMalwareScanResult.isWasMalwareDetected().detailMessage- The value forIMalwareScanResult.getDetailMessage().
-
-
Method Detail
-
isWasMalwareDetected
public boolean isWasMalwareDetected()
- Specified by:
isWasMalwareDetectedin interfaceIMalwareScanResult- Returns:
- Whether at least one kind of malware was detected.
-
getDetailMessage
public String getDetailMessage()
- Specified by:
getDetailMessagein interfaceIMalwareScanResult- Returns:
- Detailed info about the detected malware. May be empty when none is available.
-
-