Package com.xwiki.antivirus
Interface AntivirusConfiguration
@Role
public interface AntivirusConfiguration
Configuration of the Antivirus Application.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanboolean
-
Method Details
-
isEnabled
boolean isEnabled()- Returns:
trueif scanning is enabled, for any of the attachment uploading, page creation or scheduled full-wiki scan operations
-
getDefaultEngineName
String getDefaultEngineName()- Returns:
- the name of the
AntivirusEngineto use when scanning
-
shouldAlwaysSendReport
boolean shouldAlwaysSendReport()- Returns:
trueif the report at the end of a Scheduled Scan should always be sent to the admins, even when no infection has been detected
-
getMaxFileSize
int getMaxFileSize()- Returns:
- the maximum file size in MB for which a scan should be performed at upload time
-