Class MalwareDetectionFilesConnector
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.social.service.malwareDetection.connector.MalwareDetectionItemConnector
-
- org.exoplatform.social.service.malwareDetection.connector.MalwareDetectionFilesConnector
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class MalwareDetectionFilesConnector extends MalwareDetectionItemConnector
-
-
Field Summary
-
Fields inherited from class org.exoplatform.social.service.malwareDetection.connector.MalwareDetectionItemConnector
INFECTED_ITEM_ID, INFECTED_ITEM_LAST_MODIFIER, INFECTED_ITEM_LAST_MODIFIER_ARGUMENT, INFECTED_ITEM_MODIFICATION_DATE, INFECTED_ITEM_NAME, INFECTED_ITEM_NAME_ARGUMENT, MALWARE_DETECTION_FEATURE
-
-
Constructor Summary
Constructors Constructor Description MalwareDetectionFilesConnector(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.commons.file.services.FileService fileService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanProcessInfectedItem(String infectedFilePath)voidcleanInfectedItem(Map<String,String> infectedItem)List<Map<String,String>>getInfectedItems(String infectedFilePath)-
Methods inherited from class org.exoplatform.social.service.malwareDetection.connector.MalwareDetectionItemConnector
getPathSeparator, getType, isEnable, processInfectedItem, setEnable, setType
-
-
-
-
Method Detail
-
getInfectedItems
public List<Map<String,String>> getInfectedItems(String infectedFilePath)
- Specified by:
getInfectedItemsin classMalwareDetectionItemConnector
-
canProcessInfectedItem
public boolean canProcessInfectedItem(String infectedFilePath)
- Specified by:
canProcessInfectedItemin classMalwareDetectionItemConnector
-
cleanInfectedItem
public void cleanInfectedItem(Map<String,String> infectedItem)
- Specified by:
cleanInfectedItemin classMalwareDetectionItemConnector
-
-