Interface CauseHandler

All Superinterfaces:
Comparable<CauseHandler>
All Known Implementing Classes:
BitBucketPushCauseHandler, BranchIndexingCauseHandler, DefaultCauseHandler, GitHubPushCauseHandler, GitLabWebHookCauseHandler, RemoteCauseHandler, SCMTriggerCauseHandler, TimerTriggerCauseHandler, UpstreamCauseHandler, UserIdCauseHandler

public interface CauseHandler extends Comparable<CauseHandler>
  • Method Details

    • configure

      default void configure(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
    • isSupported

      boolean isSupported(@NonNull Cause cause)
    • getStructuredDescription

      @NonNull default String getStructuredDescription(@NonNull Cause cause)
      Machine-readable description of the cause like "UserIdCause:anonymous"...
    • ordinal

      default int ordinal()
      Returns:
      the ordinal of this handler to execute step handlers in predictable order. The smallest ordinal is executed first.
    • compareTo

      default int compareTo(CauseHandler other)
      Specified by:
      compareTo in interface Comparable<CauseHandler>