Class AntivirusScriptService

java.lang.Object
com.xwiki.antivirus.script.AntivirusScriptService
All Implemented Interfaces:
org.xwiki.script.service.ScriptService

@Component @Named("antivirus") @Singleton public class AntivirusScriptService extends Object implements org.xwiki.script.service.ScriptService
Exposing Antivirus API to scripts.
Version:
$Id$
  • Constructor Details

    • AntivirusScriptService

      public AntivirusScriptService()
  • Method Details

    • getDefaultAntivirusName

      public String getDefaultAntivirusName()
      Returns:
      the name of the AntivirusEngine to use when scanning
    • getAntivirusNames

      public List<String> getAntivirusNames()
      Returns:
      the name of the available AntivirusEngine implementations that can be used while scanning