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

org.valkyriercp.command.CommandManager Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.command;

import org.valkyriercp.command.CommandServices;
import org.valkyriercp.command.config.CommandFaceDescriptorRegistry;
import org.valkyriercp.command.support.AbstractCommand;
import org.valkyriercp.command.support.ActionCommand;
import org.valkyriercp.command.support.CommandGroup;
import org.valkyriercp.factory.CommandFactory;

import java.util.List;

public interface CommandManager extends CommandServices, CommandRegistry, CommandFaceDescriptorRegistry,
        CommandConfigurer, CommandFactory {
    public void addCommandInterceptor(String commandId, ActionCommandInterceptor interceptor);

    public void removeCommandInterceptor(String commandId, ActionCommandInterceptor interceptor);

    CommandGroup createCommandGroup(List members);

    CommandGroup createCommandGroup(String groupId, Object[] members);

    CommandGroup createCommandGroup(String groupId, List members);

    CommandGroup createCommandGroup(String groupId, Object[] members, CommandConfigurer configurer);

    CommandGroup createCommandGroup(String groupId, Object[] members,
                                    boolean exclusive, CommandConfigurer configurer);

    ActionCommand createDummyCommand(final String id, final String msg);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy