Class GitHubPushCauseHandler
- java.lang.Object
-
- io.jenkins.plugins.opentelemetry.job.cause.GitHubPushCauseHandler
-
- All Implemented Interfaces:
CauseHandler
,Comparable<CauseHandler>
@Extension(optional=true, dynamicLoadable=YES) public class GitHubPushCauseHandler extends Object implements CauseHandler
-
-
Constructor Summary
Constructors Constructor Description GitHubPushCauseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStructuredDescription(Cause cause)
Machine-readable description of the cause like "UserIdCause:anonymous"...boolean
isSupported(Cause cause)
-
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, ordinal
-
-
-
-
Constructor Detail
-
GitHubPushCauseHandler
public GitHubPushCauseHandler() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-
Method Detail
-
isSupported
public boolean isSupported(@NonNull Cause cause)
- Specified by:
isSupported
in interfaceCauseHandler
-
getStructuredDescription
public String getStructuredDescription(@NonNull Cause cause)
Description copied from interface:CauseHandler
Machine-readable description of the cause like "UserIdCause:anonymous"...- Specified by:
getStructuredDescription
in interfaceCauseHandler
-
-