Class TowerHttpTimeouts

java.lang.Object
org.jenkinsci.plugins.ansible_tower.util.TowerHttpTimeouts
All Implemented Interfaces:
Serializable

public final class TowerHttpTimeouts extends Object implements Serializable
HTTP timeouts belonging to one Tower operation, expressed in seconds.
See Also:
  • Field Details

  • Constructor Details

    • TowerHttpTimeouts

      public TowerHttpTimeouts(Integer connectTimeoutSeconds, Integer connectionPoolTimeoutSeconds, Integer readTimeoutSeconds)
    • TowerHttpTimeouts

      public TowerHttpTimeouts(Integer connectTimeoutSeconds, Integer connectionPoolTimeoutSeconds, Integer readTimeoutSeconds, Integer requestTimeoutSeconds)
  • Method Details

    • getConnectTimeoutSeconds

      public int getConnectTimeoutSeconds()
    • getConnectionPoolTimeoutSeconds

      public int getConnectionPoolTimeoutSeconds()
    • getReadTimeoutSeconds

      public int getReadTimeoutSeconds()
    • getRequestTimeoutSeconds

      public int getRequestTimeoutSeconds()
    • withRequestTimeoutDefault

      public TowerHttpTimeouts withRequestTimeoutDefault(Integer installationSeconds)
    • withReadTimeoutDefault

      public TowerHttpTimeouts withReadTimeoutDefault(int installationSeconds)
    • validateSeconds

      public static Integer validateSeconds(String name, Object value)