Class HealthRequest

java.lang.Object
com.styra.opa.openapi.models.operations.HealthRequest

public class HealthRequest extends Object
  • Constructor Details

  • Method Details

    • bundles

      public Optional<Boolean> bundles()
      Boolean parameter to account for bundle activation status in response. This includes any discovery bundles or bundles defined in the loaded discovery configuration.
    • plugins

      public Optional<Boolean> plugins()
      Boolean parameter to account for plugin status in response.
    • excludePlugin

      public Optional<List<String>> excludePlugin()
      String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
    • builder

      public static final HealthRequest.Builder builder()
    • withBundles

      public HealthRequest withBundles(boolean bundles)
      Boolean parameter to account for bundle activation status in response. This includes any discovery bundles or bundles defined in the loaded discovery configuration.
    • withBundles

      public HealthRequest withBundles(Optional<Boolean> bundles)
      Boolean parameter to account for bundle activation status in response. This includes any discovery bundles or bundles defined in the loaded discovery configuration.
    • withPlugins

      public HealthRequest withPlugins(boolean plugins)
      Boolean parameter to account for plugin status in response.
    • withPlugins

      public HealthRequest withPlugins(Optional<Boolean> plugins)
      Boolean parameter to account for plugin status in response.
    • withExcludePlugin

      public HealthRequest withExcludePlugin(List<String> excludePlugin)
      String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
    • withExcludePlugin

      public HealthRequest withExcludePlugin(Optional<? extends List<String>> excludePlugin)
      String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object