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 TargettargetUtil
-
Constructor Summary
Constructors Constructor Description SetMonitoringServiceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(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:AdminCommandExecutes 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:
executein interfaceAdminCommand- Parameters:
context- information
-
-