public abstract class BaseNotificationConfigurer<C extends NotifierConfiguration,S extends BaseNotifierService> extends Object implements AdminCommand
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
dynamic |
protected Boolean |
enabled |
protected Logger |
logger |
protected Boolean |
noisy |
protected NotificationService |
notificationService |
protected ServerEnvironment |
server |
protected String |
target |
protected Target |
targetUtil |
| Constructor and Description |
|---|
BaseNotificationConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
applyValues(C c) |
protected void |
configureDynamically() |
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the parameter names and the values are the parameter values
|
protected abstract String |
getHealthCheckNotifierCommandName() |
protected abstract String |
getRequestTracingNotifierCommandName() |
@Inject protected Target targetUtil
@Inject protected ServerEnvironment server
@Inject protected Logger logger
@Inject protected NotificationService notificationService
protected Boolean dynamic
protected String target
protected Boolean enabled
protected Boolean noisy
protected abstract void applyValues(C c) throws PropertyVetoException
PropertyVetoExceptionprotected abstract String getHealthCheckNotifierCommandName()
protected abstract String getRequestTracingNotifierCommandName()
public void execute(AdminCommandContext context)
AdminCommandexecute in interface AdminCommandcontext - informationprotected void configureDynamically()
Copyright © 2019. All rights reserved.