org.gcube.contentmanagement.contentmanager.consumers
Class ActivationRecordConsumer
java.lang.Object
BaseNotificationConsumer
org.gcube.contentmanagement.contentmanager.consumers.ActivationRecordConsumer
public class ActivationRecordConsumer
- extends BaseNotificationConsumer
A BaseNotificationConsumer
of events that relate to activation records in a given scope.
- Author:
- Fabio Simeoni (University of Strathclyde)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivationRecordConsumer
public ActivationRecordConsumer(GCUBEScope scope)
- Creates an instance for a given scope.
- Parameters:
scope
- the scope.
onNotificationReceived
public void onNotificationReceived(NotificationEvent event)
-
onNewActivationRecord
public void onNewActivationRecord(ActivationRecord record)
- Self-stage with the payload of a new activation record resource that was not broadcasted by this
running instance.
- Parameters:
resource
- the resource.