public abstract class CauseResolver extends Object implements hudson.ExtensionPoint
Constructor and Description |
---|
CauseResolver() |
Modifier and Type | Method and Description |
---|---|
static List<CauseResolver> |
all()
Returns all loaded implementations of this extension point.
|
static TriggerCause |
getTrigger(hudson.model.Cause cause) |
abstract TriggerCause |
resolveCause(hudson.model.Cause cause)
Resolves the Cause and returns a TriggerCause or null if not found.
|
@CheckForNull public abstract TriggerCause resolveCause(hudson.model.Cause cause)
cause
- cause from the Jenkins buildpublic static List<CauseResolver> all()
public static TriggerCause getTrigger(hudson.model.Cause cause)
Copyright © 2016–2020 Diabol AB. All rights reserved.