All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.server.cli.handlers.RoleManipulationCommandHandler Maven / Gradle / Ivy

There is a newer version: 10.0.0.CR2
Show newest version
package org.infinispan.server.cli.handlers;

import org.infinispan.server.cli.util.CliCommandBuffer;
import org.jboss.as.cli.impl.ArgumentWithValue;
import org.jboss.as.cli.impl.ArgumentWithoutValue;

/**
 * The {@link CacheCommand#DENY} handler.
 *
 * @author Tristan Tarrant
 * @since 6.1
 */
public abstract class RoleManipulationCommandHandler extends NoArgumentsCliCommandHandler {

   public RoleManipulationCommandHandler(CacheCommand command, CliCommandBuffer buffer) {
      super(command, buffer);
      new ArgumentWithValue(this, null, 0, "--role");
      new ArgumentWithoutValue(this, 1, "--to");
      new ArgumentWithValue(this, null, 2, "--principal");
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy