public abstract class BaseSetNotifierConfigurationCommand<C extends PayaraNotifierConfiguration> extends Object implements AdminCommand
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
dynamic |
protected Boolean |
enabled |
protected Logger |
logger |
protected Boolean |
noisy |
protected ServerEnvironment |
server |
protected String |
target |
protected Target |
targetUtil |
| Constructor and Description |
|---|
BaseSetNotifierConfigurationCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyValues(C configuration)
Configure the configuration ConfigBeanProxy from the @Param injected class
fields.
|
protected void |
configureDynamically(C configuration)
Called after static configuration if the dynamic field is enabled and this
instance is the one selected.
|
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
|
@Inject protected Target targetUtil
@Inject protected ServerEnvironment server
@Inject protected Logger logger
protected String target
protected Boolean dynamic
protected Boolean enabled
protected Boolean noisy
public void execute(AdminCommandContext context)
AdminCommandexecute in interface AdminCommandcontext - informationprotected void applyValues(C configuration) throws PropertyVetoException
configuration - the ConfigBeanProxy to configurePropertyVetoException - an exception thrown if the property doesn't
pass the configured validation.protected void configureDynamically(C configuration)
Copyright © 2021. All rights reserved.