Class SCMTriggerCauseHandler
- java.lang.Object
-
- io.jenkins.plugins.opentelemetry.job.cause.SCMTriggerCauseHandler
-
- All Implemented Interfaces:
CauseHandler
,Comparable<CauseHandler>
@Extension(optional=true, dynamicLoadable=YES) public class SCMTriggerCauseHandler extends Object implements CauseHandler
-
-
Constructor Summary
Constructors Constructor Description SCMTriggerCauseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSupported(Cause cause)
int
ordinal()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.jenkins.plugins.opentelemetry.job.cause.CauseHandler
compareTo, configure, getStructuredDescription
-
-
-
-
Constructor Detail
-
SCMTriggerCauseHandler
public SCMTriggerCauseHandler() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-
Method Detail
-
isSupported
public boolean isSupported(@NonNull Cause cause)
- Specified by:
isSupported
in interfaceCauseHandler
-
ordinal
public int ordinal()
- Specified by:
ordinal
in interfaceCauseHandler
- Returns:
- the ordinal of this handler to execute step handlers in predictable order. The smallest ordinal is executed first.
-
-