Class HealthRequest


  • public class HealthRequest
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  HealthRequest.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      HealthRequest()  
      HealthRequest​(java.util.Optional<java.lang.Boolean> bundles, java.util.Optional<java.lang.Boolean> plugins, java.util.Optional<? extends java.util.List<java.lang.String>> excludePlugin)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static HealthRequest.Builder builder()  
      java.util.Optional<java.lang.Boolean> bundles()
      Boolean parameter to account for bundle activation status in response.
      boolean equals​(java.lang.Object o)  
      java.util.Optional<java.util.List<java.lang.String>> excludePlugin()
      String parameter to exclude a plugin from status checks.
      int hashCode()  
      java.util.Optional<java.lang.Boolean> plugins()
      Boolean parameter to account for plugin status in response.
      java.lang.String toString()  
      HealthRequest withBundles​(boolean bundles)
      Boolean parameter to account for bundle activation status in response.
      HealthRequest withBundles​(java.util.Optional<java.lang.Boolean> bundles)
      Boolean parameter to account for bundle activation status in response.
      HealthRequest withExcludePlugin​(java.util.List<java.lang.String> excludePlugin)
      String parameter to exclude a plugin from status checks.
      HealthRequest withExcludePlugin​(java.util.Optional<? extends java.util.List<java.lang.String>> excludePlugin)
      String parameter to exclude a plugin from status checks.
      HealthRequest withPlugins​(boolean plugins)
      Boolean parameter to account for plugin status in response.
      HealthRequest withPlugins​(java.util.Optional<java.lang.Boolean> plugins)
      Boolean parameter to account for plugin status in response.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HealthRequest

        public HealthRequest​(java.util.Optional<java.lang.Boolean> bundles,
                             java.util.Optional<java.lang.Boolean> plugins,
                             java.util.Optional<? extends java.util.List<java.lang.String>> excludePlugin)
      • HealthRequest

        public HealthRequest()
    • Method Detail

      • bundles

        public java.util.Optional<java.lang.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 java.util.Optional<java.lang.Boolean> plugins()
        Boolean parameter to account for plugin status in response.
      • excludePlugin

        public java.util.Optional<java.util.List<java.lang.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.
      • 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​(java.util.Optional<java.lang.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​(java.util.Optional<java.lang.Boolean> plugins)
        Boolean parameter to account for plugin status in response.
      • withExcludePlugin

        public HealthRequest withExcludePlugin​(java.util.List<java.lang.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​(java.util.Optional<? extends java.util.List<java.lang.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object