@Extension public class PipelineStartEventSubscriber extends CloudManagerEventSubscriber
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
PipelineStartEventSubscriber() |
Modifier and Type | Method and Description |
---|---|
protected static Function<ParameterizedJobMixIn.ParameterizedJob,PipelineStartTrigger> |
getTrigger() |
protected static Predicate<ParameterizedJobMixIn.ParameterizedJob> |
hasTrigger() |
protected static Predicate<Item> |
isApplicable() |
protected void |
onEvent(CloudManagerSubscriberEvent subscriberEvent)
Calls all
PipelineEndStep instances waiting for an event. |
protected static Function<PipelineStartTrigger,Void> |
start(PipelineStartEvent event) |
protected static Function<Item,ParameterizedJobMixIn.ParameterizedJob> |
toJob() |
protected Set<io.adobe.cloudmanager.event.CloudManagerEvent.EventType> |
types()
List of event types that this subscriber can process.
|
all, interested, process
protected static Function<Item,ParameterizedJobMixIn.ParameterizedJob> toJob()
protected static Predicate<ParameterizedJobMixIn.ParameterizedJob> hasTrigger()
protected static Function<ParameterizedJobMixIn.ParameterizedJob,PipelineStartTrigger> getTrigger()
protected static Function<PipelineStartTrigger,Void> start(PipelineStartEvent event)
@Nonnull protected Set<io.adobe.cloudmanager.event.CloudManagerEvent.EventType> types()
CloudManagerEventSubscriber
types
in class CloudManagerEventSubscriber
protected void onEvent(CloudManagerSubscriberEvent subscriberEvent)
PipelineEndStep
instances waiting for an event.onEvent
in class CloudManagerEventSubscriber
Copyright © 2020–2021 Adobe Inc. All rights reserved.