Class CreateJvmOption
- java.lang.Object
-
- fish.payara.enterprise.admin.commands.CreateJvmOption
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.Preauthorization
@Service(name="create-jvm-option") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public final class CreateJvmOption extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization
-
-
Constructor Summary
Constructors Constructor Description CreateJvmOption()
-
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 valuesbooleanpreAuthorization(AdminCommandContext context)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(AdminCommandContext context)
- Specified by:
preAuthorizationin interfaceAdminCommandSecurity.Preauthorization
-
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
-
-