Class MalwareDetectionService
java.lang.Object
org.exoplatform.antimalware.service.MalwareDetectionService
Is extended by all MalwareDetectionItemConnector and MalwareDetectionConnector connectors,
and allows to build configuration needed by a list of connectors that is used for Malware detection.
-
Constructor Summary
ConstructorsConstructorDescriptionMalwareDetectionService(org.exoplatform.services.listener.ListenerService listenerService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMalwareDetectionConnector(MalwareDetectionConnector malwareDetectionConnector) Add Malware detection connector to the servicevoidaddMalwareDetectionConnector(MalwareDetectionConnector malwareDetectionConnector, Boolean override) Add malware detection connector to the servicevoidaddMalwareDetectionItemConnector(MalwareDetectionItemConnector malwareDetectionItemConnector) Add Malware detection item connector to the servicevoidaddMalwareDetectionItemConnector(MalwareDetectionItemConnector malwareDetectionItemConnector, Boolean override) Add malware detection item connector to the servicevoidGets default malware detection connectorGets all current malware detection connectorsGets all current malware detection item connectorsvoidprocessInfectedItem(String infectedItemPath)
-
Constructor Details
-
MalwareDetectionService
public MalwareDetectionService(org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Details
-
addMalwareDetectionItemConnector
public void addMalwareDetectionItemConnector(MalwareDetectionItemConnector malwareDetectionItemConnector) Add Malware detection item connector to the service- Parameters:
malwareDetectionItemConnector- the Malware detection item connector to add- eXo level API
- Experimental
-
addMalwareDetectionConnector
Add Malware detection connector to the service- Parameters:
malwareDetectionConnector- the Malware detection connector to add- eXo level API
- Experimental
-
addMalwareDetectionItemConnector
public void addMalwareDetectionItemConnector(MalwareDetectionItemConnector malwareDetectionItemConnector, Boolean override) Add malware detection item connector to the service- Parameters:
malwareDetectionItemConnector- the malware detection item connector to addoverride- equal true if we can override an existing connector, false otherwise- eXo level API
- Experimental
-
addMalwareDetectionConnector
public void addMalwareDetectionConnector(MalwareDetectionConnector malwareDetectionConnector, Boolean override) Add malware detection connector to the service- Parameters:
malwareDetectionConnector- the malware detection connector to addoverride- equal true if we can override an existing connector, false otherwise- eXo level API
- Experimental
-
getMalwareDetectionItemConnectors
Gets all current malware detection item connectors- Returns:
- Malware detection item connectors
- eXo level API
- Experimental
-
getMalwareDetectionConnectors
Gets all current malware detection connectors- Returns:
- Malware detection connectors
- eXo level API
- Experimental
-
getDefaultMalwareDetectionConnector
Gets default malware detection connector- Returns:
- Default malware detection connector
- eXo level API
- Experimental
-
checkAndProcessNewInfectedItems
public void checkAndProcessNewInfectedItems() -
processInfectedItem
-