public class ElasticSearchServerHook extends DefaultServerHook
Constructor and Description |
---|
ElasticSearchServerHook() |
Modifier and Type | Method and Description |
---|---|
void |
onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag)
This is called after a server is assigned to a domain for one of its
tags.
|
void |
onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag)
This is called after a server is tagged in the database (one server
update can trigger multiple onServerTagged events)
|
void |
onServerUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag)
This is called after an assignment is removed.
|
beforeCreate, beforeUpdate, onServerCreated, onServerDeleted, onServerPreUnassigned, onServerUntagged, onServerUpdated
public void onServerTagged(BmContext context, ItemValue<Server> itemValue, java.lang.String tag) throws ServerFault
IServerHook
onServerTagged
in interface IServerHook
onServerTagged
in class DefaultServerHook
ServerFault
public void onServerAssigned(BmContext context, ItemValue<Server> server, ItemValue<Domain> assignedDomain, java.lang.String tag) throws ServerFault
IServerHook
onServerAssigned
in interface IServerHook
onServerAssigned
in class DefaultServerHook
ServerFault
public void onServerUnassigned(BmContext context, ItemValue<Server> server, ItemValue<Domain> assignedDomain, java.lang.String tag) throws ServerFault
IServerHook
onServerUnassigned
in interface IServerHook
onServerUnassigned
in class DefaultServerHook
ServerFault
Copyright © 2021. All Rights Reserved.