public class TopologyProducerHook extends DefaultServerHook
Constructor and Description |
---|
TopologyProducerHook() |
Modifier and Type | Method and Description |
---|---|
void |
onServerCreated(BmContext context,
ItemValue<Server> item)
This is called after a server is created in the database.
|
void |
onServerDeleted(BmContext context,
ItemValue<Server> itemValue)
This is called after a server is deleted in the database.
|
void |
onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value)
This is called after a server is updated in the database.
|
beforeCreate, beforeUpdate, onServerAssigned, onServerPreUnassigned, onServerTagged, onServerUnassigned, onServerUntagged
public void onServerCreated(BmContext context, ItemValue<Server> item)
IServerHook
onServerCreated
in interface IServerHook
onServerCreated
in class DefaultServerHook
public void onServerUpdated(BmContext context, ItemValue<Server> previousValue, Server value)
IServerHook
onServerUpdated
in interface IServerHook
onServerUpdated
in class DefaultServerHook
public void onServerDeleted(BmContext context, ItemValue<Server> itemValue)
IServerHook
onServerDeleted
in interface IServerHook
onServerDeleted
in class DefaultServerHook
Copyright © 2021. All Rights Reserved.