public class NodeHook extends DefaultServerHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
bmCerts |
static java.lang.String |
bmcoretok |
static java.lang.String |
cacert |
static java.lang.String |
clientCert |
static java.lang.String |
dhParam |
static java.lang.String |
serverCert |
static java.lang.String |
trustClientCert |
Constructor and Description |
---|
NodeHook() |
Modifier and Type | Method and Description |
---|---|
void |
onServerCreated(BmContext context,
ItemValue<Server> server)
This is called after a server is created in the database.
|
void |
onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag)
This is called after a server is tagged in the database (one server
update can trigger multiple onServerTagged events)
|
beforeCreate, beforeUpdate, onServerAssigned, onServerDeleted, onServerPreUnassigned, onServerUnassigned, onServerUntagged, onServerUpdated
public static final java.lang.String serverCert
public static final java.lang.String clientCert
public static final java.lang.String trustClientCert
public static final java.lang.String cacert
public static final java.lang.String bmcoretok
public static final java.lang.String bmCerts
public static final java.lang.String dhParam
public void onServerCreated(BmContext context, ItemValue<Server> server) throws ServerFault
IServerHook
onServerCreated
in interface IServerHook
onServerCreated
in class DefaultServerHook
ServerFault
public void onServerTagged(BmContext context, ItemValue<Server> server, java.lang.String tag) throws ServerFault
IServerHook
onServerTagged
in interface IServerHook
onServerTagged
in class DefaultServerHook
ServerFault
Copyright © 2021. All Rights Reserved.