public abstract class AbstractStatusChangeNotifier extends AbstractEventNotifier
| Constructor and Description |
|---|
AbstractStatusChangeNotifier(InstanceRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getIgnoreChanges() |
protected String |
getLastStatus(InstanceId instanceId) |
reactor.core.publisher.Mono<Void> |
notify(InstanceEvent event) |
void |
setIgnoreChanges(String[] ignoreChanges) |
protected boolean |
shouldNotify(InstanceEvent event,
Instance instance) |
protected void |
updateLastStatus(InstanceEvent event) |
doNotify, isEnabled, setEnabledpublic AbstractStatusChangeNotifier(InstanceRepository repository)
public reactor.core.publisher.Mono<Void> notify(InstanceEvent event)
notify in interface Notifiernotify in class AbstractEventNotifierprotected boolean shouldNotify(InstanceEvent event, Instance instance)
shouldNotify in class AbstractEventNotifierprotected final String getLastStatus(InstanceId instanceId)
protected void updateLastStatus(InstanceEvent event)
public void setIgnoreChanges(String[] ignoreChanges)
public String[] getIgnoreChanges()
Copyright © 2019 codecentric AG. All rights reserved.