public abstract class CloudManagerEventSubscriber extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CloudManagerEventSubscriber() |
Modifier and Type | Method and Description |
---|---|
static ExtensionList<CloudManagerEventSubscriber> |
all()
Lists of all Cloud Manager Event Subscribers
|
static Predicate<CloudManagerEventSubscriber> |
interested(io.adobe.cloudmanager.event.CloudManagerEvent.EventType type)
Predicate for filtering on streams.
|
protected abstract void |
onEvent(CloudManagerSubscriberEvent event)
Processes the event.
|
static Function<CloudManagerEventSubscriber,CloudManagerSubscriberEvent> |
process(CloudManagerSubscriberEvent event)
Function for processing events via streams.
|
protected abstract Set<io.adobe.cloudmanager.event.CloudManagerEvent.EventType> |
types()
List of event types that this subscriber can process.
|
public static ExtensionList<CloudManagerEventSubscriber> all()
public static Predicate<CloudManagerEventSubscriber> interested(io.adobe.cloudmanager.event.CloudManagerEvent.EventType type)
public static Function<CloudManagerEventSubscriber,CloudManagerSubscriberEvent> process(CloudManagerSubscriberEvent event)
@Nonnull protected abstract Set<io.adobe.cloudmanager.event.CloudManagerEvent.EventType> types()
protected abstract void onEvent(CloudManagerSubscriberEvent event)
Copyright © 2020–2021 Adobe Inc. All rights reserved.