public class CheckServerAvailability extends DefaultServerHook
Constructor and Description |
---|
CheckServerAvailability() |
Modifier and Type | Method and Description |
---|---|
void |
beforeCreate(BmContext context,
java.lang.String uid,
Server server) |
void |
beforeUpdate(BmContext context,
java.lang.String uid,
Server server,
Server previous) |
void |
onServerDeleted(BmContext context,
ItemValue<Server> server)
This is called after a server is deleted in the database.
|
onServerAssigned, onServerCreated, onServerPreUnassigned, onServerTagged, onServerUnassigned, onServerUntagged, onServerUpdated
public void beforeCreate(BmContext context, java.lang.String uid, Server server) throws ServerFault
beforeCreate
in interface IServerHook
beforeCreate
in class DefaultServerHook
ServerFault
public void beforeUpdate(BmContext context, java.lang.String uid, Server server, Server previous) throws ServerFault
beforeUpdate
in interface IServerHook
beforeUpdate
in class DefaultServerHook
ServerFault
public void onServerDeleted(BmContext context, ItemValue<Server> server) throws ServerFault
IServerHook
onServerDeleted
in interface IServerHook
onServerDeleted
in class DefaultServerHook
ServerFault
Copyright © 2021. All Rights Reserved.