To enable an asadmin command to run, implement the execute method in your implementation of the AdminCommand interface. The declaration of the execute method in your implementation must be as follows.
public void execute(AdminCommandContext context);
Pass each parameter of the command as a property to your implementation of the execute method. Set the key of the property to the parameter name and set the value of the property to the parameter's value.