org.gcube.contentmanagement.viewmanager.activationrecord
Class ActivationRecordConsumer
java.lang.Object
BaseNotificationConsumer
org.gcube.contentmanagement.viewmanager.activationrecord.ActivationRecordConsumer
public class ActivationRecordConsumer
- extends BaseNotificationConsumer
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.
onRemoveActivationRecord
public void onRemoveActivationRecord(java.lang.String id)