Package fish.payara.admin.monitor.cli
Class SetMonitoringServiceConfiguration
- java.lang.Object
-
- fish.payara.admin.monitor.cli.SetMonitoringServiceConfiguration
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-monitoring-service-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG,DEPLOYMENT_GROUP}) public class SetMonitoringServiceConfiguration extends Object implements AdminCommand
Asadmin command to set the Monitoring Service configuration.- Author:
- Susan Rai
-
-
Field Summary
Fields Modifier and Type Field Description protected Target
targetUtil
-
Constructor Summary
Constructors Constructor Description SetMonitoringServiceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Field Detail
-
targetUtil
@Inject protected Target targetUtil
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-