Object LoadOptionDefaults

  • All Implemented Interfaces:

    
    public class LoadOptionDefaults
    
                        

    The default load options, be careful to change the default behaviour.

    • Constructor Detail

    • Method Detail

      • getExpires

         final Duration getExpires()

        The default expiry time, some time we may need expire all pages by default, for example, in test mode

      • setExpires

         final Unit setExpires(Duration expires)

        The default expiry time, some time we may need expire all pages by default, for example, in test mode

      • getStoreContent

         final Boolean getStoreContent()

        Store webpage content or not.

        Store webpage content by default. If we are running a public cloud, this option might be changed to false.

      • setStoreContent

         final Unit setStoreContent(Boolean storeContent)

        Store webpage content or not.

        Store webpage content by default. If we are running a public cloud, this option might be changed to false.

      • getNJitRetry

         final Integer getNJitRetry()

        There are several cases to enable jit retry. For example, in a test environment.

      • setNJitRetry

         final Unit setNJitRetry(Integer nJitRetry)

        There are several cases to enable jit retry. For example, in a test environment.

      • getBrowser

         final BrowserType getBrowser()

        The default browser is chrome with pulsar implemented web driver.

      • setBrowser

         final Unit setBrowser(BrowserType browser)

        The default browser is chrome with pulsar implemented web driver.

      • getTest

         final Integer getTest()

        Set to be 0 if we are doing unit test or other test. We will talk more, log more and trace more in test mode.

      • setTest

         final Unit setTest(Integer test)

        Set to be 0 if we are doing unit test or other test. We will talk more, log more and trace more in test mode.