Class FailureKinds

java.lang.Object
com.bluebell.greenhouse.platform.constants.job.FailureKinds

public final class FailureKinds extends Object
The classification axis for a failed job attempt. The kind answers "what sort of thing went wrong", which is what decides whether an automatic retry can help; the accompanying failure code stays free to describe the specific event.
Version:
3.0.6
Author:
Stephen Prizio
  • Field Details

    • DOMAIN

      public static final String DOMAIN
      The work itself was rejected. Repeating it unchanged fails the same way.
      See Also:
    • DEPENDENCY

      public static final String DEPENDENCY
      An external provider or downstream system could not be reached or answered unusably.
      See Also:
    • TIMEOUT

      public static final String TIMEOUT
      The attempt exceeded its allotted time.
      See Also:
    • LEASE_LOSS

      public static final String LEASE_LOSS
      The worker lease expired before the attempt finished, so the attempt was abandoned.
      See Also:
    • UNEXPECTED

      public static final String UNEXPECTED
      The handler threw something that does not fit any other kind.
      See Also: