Class MalwareDetectionConnector

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.antimalware.connector.MalwareDetectionConnector
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Direct Known Subclasses:
ClamAVMalwareDetectionConnector, TrendMicroMalwareDetectionConnector

public abstract class MalwareDetectionConnector extends org.exoplatform.container.component.BaseComponentPlugin
Is extended by all MalwareDetection connectors, and allows to build configuration needed by a list of connectors that is used for Malware detection.
  • Field Details

  • Constructor Details

    • MalwareDetectionConnector

      public MalwareDetectionConnector(org.exoplatform.container.xml.InitParams initParams)
      Initializes a malware detection connector. The constructor is default that connectors must implement.
      Parameters:
      initParams - The parameters which are used for initializing the malware detection connector from configuration.
      eXo level API
      Experimental
  • Method Details

    • getType

      public String getType()
      Returns:
      the type
    • setType

      public void setType(String type)
      Parameters:
      type - the type to set
    • isDefault

      public boolean isDefault()
      Returns:
      the isDefault
    • setDefault

      public void setDefault(boolean isDefault)
      Parameters:
      isDefault - the isDefault to set
    • getInfectedItemsPaths

      public abstract List<String> getInfectedItemsPaths()