Class AcmeConfiguration.AbstractConfiguration

java.lang.Object
io.micronaut.acme.AcmeConfiguration.AbstractConfiguration
Direct Known Subclasses:
AcmeConfiguration.AuthConfiguration, AcmeConfiguration.OrderConfiguration
Enclosing class:
AcmeConfiguration

public static class AcmeConfiguration.AbstractConfiguration extends Object
Base class for configuration classes.
  • Constructor Details

    • AbstractConfiguration

      public AbstractConfiguration()
  • Method Details

    • getPause

      public Duration getPause()
      Gets duration in which we will pause between ordering attempts.
      Returns:
      duration
    • setPause

      public void setPause(Duration pause)
      Sets duration in which we will pause between ordering attempts. Default 3 seconds.
      Parameters:
      pause - duration
    • getRefreshAttempts

      public int getRefreshAttempts()
      Gets number of refresh attempts that will be tried while ordering the certificate from the ACME server.
      Returns:
      number of refresh attempts
    • setRefreshAttempts

      public void setRefreshAttempts(int refreshAttempts)
      Sets number of refresh attempts that will be tried while ordering the certificate from the ACME server. Default 10.
      Parameters:
      refreshAttempts - number of refresh attempts