@Service(name="enable-monitoring") @PerLookup @ExecuteOn(value={DAS,INSTANCE}) @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public class EnableMonitoring extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization
Constructor and Description |
---|
EnableMonitoring() |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
preAuthorization(AdminCommandContext context) |
public boolean preAuthorization(AdminCommandContext context)
preAuthorization
in interface AdminCommandSecurity.Preauthorization
public void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationCopyright © 2019. All rights reserved.