public class WindowsDefenderChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WindowsDefenderChecker.CheckResult |
static class |
WindowsDefenderChecker.RealtimeScanningStatus |
Constructor and Description |
---|
WindowsDefenderChecker() |
Modifier and Type | Method and Description |
---|---|
WindowsDefenderChecker.CheckResult |
checkWindowsDefender(Project project) |
void |
configureActions(Project project,
WindowsDefenderNotification notification) |
java.lang.String |
getConfigurationInstructionsUrl() |
protected java.util.List<java.nio.file.Path> |
getImportantPaths(Project project)
Returns a list of paths that might impact build performance if Windows Defender were configured to scan them.
|
static WindowsDefenderChecker |
getInstance() |
protected java.util.List<java.io.File> |
getProcessesToCheck() |
boolean |
isVirusCheckIgnored(Project project) |
boolean |
runExcludePathsCommand(Project project,
java.util.Collection<java.nio.file.Path> paths) |
public static WindowsDefenderChecker getInstance()
public boolean isVirusCheckIgnored(Project project)
public WindowsDefenderChecker.CheckResult checkWindowsDefender(Project project)
protected java.util.List<java.io.File> getProcessesToCheck()
protected java.util.List<java.nio.file.Path> getImportantPaths(Project project)
public void configureActions(Project project, WindowsDefenderNotification notification)
public java.lang.String getConfigurationInstructionsUrl()
public boolean runExcludePathsCommand(Project project, java.util.Collection<java.nio.file.Path> paths)