P
- event providers that adjust according to read-only statuspublic class EventProviderWrapper<P extends EventProvider & ReadOnlyStatus.IsAware> extends java.lang.Object implements EventProvider
Constructor and Description |
---|
EventProviderWrapper(ReadOnlyStatus readOnly,
java.util.List<P> providers)
Construct a new event provider.
|
Modifier and Type | Method and Description |
---|---|
Event |
updateEvent(Event event)
Persists a given
Event . |
public EventProviderWrapper(ReadOnlyStatus readOnly, java.util.List<P> providers)
readOnly
- the read-only statusproviders
- the event providers to wrap: the earlier providers are tried first and at least one provider must support
write operations according to ReadOnlyStatus.IsAware.isReadOnly(ReadOnlyStatus)
public Event updateEvent(Event event)
EventProvider
Event
.updateEvent
in interface EventProvider
event
- the event to persist
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.