package org.limewire.core.settings; import org.limewire.setting.BooleanSetting; import org.limewire.setting.IntSetting; public class MalwareSettings extends LimeProps { private MalwareSettings() {} /** * User setting to enable or disable the virus scanner. This setting is only relevant if antivirus is activated. */ public static final BooleanSetting VIRUS_SCANNER_ENABLED = FACTORY.createBooleanSetting("VIRUS_SCANNER_ENABLED", true); /** * Whether to check for virus definition updates. This is set to false if * a virus definition update is released that requires a newer version of * the virus scanner library than the one that is installed, so it should * be reset to true if the library is updated. */ public static final BooleanSetting CHECK_FOR_VIRUS_DEFINITION_UPDATES = FACTORY.createBooleanSetting("CHECK_FOR_VIRUS_DEFINITION_UPDATES", true); /** * The maximum number of incremental AV updates allowed before a full update is forced (if a full update is available). */ public static final IntSetting MAXIMUM_INCREMENTAL_UPDATES = FACTORY.createRemoteIntSetting("MAXIMUM_INCREMENTAL_UPDATES", 15); }