/* * [EStoreConstants.java] * * Summary: Constants to help initialise EStore enums. * * Copyright: (c) 2014-2017 Roedy Green, Canadian Mind Products, http://mindprod.com * * Licence: This software may be copied and used freely for any purpose but military. * http://mindprod.com/contact/nonmil.html * * Requires: JDK 1.8+ * * Created with: JetBrains IntelliJ IDEA IDE http://www.jetbrains.com/idea/ * * Version History: * 1.0 2014-07-22 initial version */ package com.mindprod.stores; import com.mindprod.htmlmacros.macro.Global; import com.mindprod.htmlmacros.support.Configuration; /** * Constants to help initialise EStore enums. * * @author Roedy Green, Canadian Mind Products * @version 1.0 2014-07-22 9 initial version * @see com.mindprod.stores.EStore * @since 2014-07-22 */ class EStoreConstants { /** * access the global configuration object */ static final Configuration CONFIGURATION = Global.configuration; /** * how long to wait between probes to the same BStore measured in milliseconds */ static final long INTERPROBE_DELAY_FOR_CANADACOMPUTERS = 9000; /** * how long to wait between probes, default */ static final long INTERPROBE_DELAY_GENERIC = 500; /** * how long to wait between probes to the same BStore measured in milliseconds */ static final long INTERPROBE_DELAY_FOR_AMAZON_GENERIC = 5000; /** * regex pattern for $9,999.99 price */ static final String DOLLAR_PRICE = "\\$[\\d\\.,]+"; }