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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
compareTo(CauseHandler other)
default void
configure(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
default String
getStructuredDescription(Cause cause)
Machine-readable description of the cause like "UserIdCause:anonymous"...boolean
isSupported(Cause cause)
default int
ordinal()
-
-
-
Method Detail
-
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 interfaceComparable<CauseHandler>
-
-