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 Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionMalwareDetectionConnector(org.exoplatform.container.xml.InitParams initParams) Initializes a malware detection connector. -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
MALWARE_DETECTION_FEATURE
- See Also:
-
GET_MALWARE_INFECTED_ITEMS_PATHS_OPERATION
- See Also:
-
-
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
- Returns:
- the type
-
setType
- 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
-