Class HealthCheckExecutionOptions

java.lang.Object
org.apache.sling.hc.api.execution.HealthCheckExecutionOptions

@Deprecated public class HealthCheckExecutionOptions extends Object
Deprecated.
Options for behavior of health check execution.
  • Constructor Details

    • HealthCheckExecutionOptions

      public HealthCheckExecutionOptions()
      Deprecated.
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • setForceInstantExecution

      public void setForceInstantExecution(boolean forceInstantExecution)
      Deprecated.
      If activated, this will ensure that asynchronous checks will be executed immediately.
      Parameters:
      forceInstantExecution - boolean flag
    • setCombineTagsWithOr

      public void setCombineTagsWithOr(boolean combineTagsWithOr)
      Deprecated.
      If activated, the given tags will be combined with a logical "or" instead of "and".
      Parameters:
      combineTagsWithOr - boolean flag
    • setOverrideGlobalTimeout

      public void setOverrideGlobalTimeout(int overrideGlobalTimeout)
      Deprecated.
      Allows to override the global timeout for this particular execution of the health check.
      Parameters:
      overrideGlobalTimeout - timeout in ms to be used for this execution of the execution
    • isForceInstantExecution

      public boolean isForceInstantExecution()
      Deprecated.
      Returns:
      true if instant execution is turned on
    • isCombineTagsWithOr

      public boolean isCombineTagsWithOr()
      Deprecated.
      Returns:
      true if combining tags with or is turned on
    • getOverrideGlobalTimeout

      public int getOverrideGlobalTimeout()
      Deprecated.
      Returns:
      the timeout to be used for this execution (overriding the global timeout)
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object