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

tech.xigam.cch.command.SubCommand Maven / Gradle / Ivy

There is a newer version: 1.7.1
Show newest version
package tech.xigam.cch.command;

import java.util.ArrayList;
import java.util.List;

public abstract class SubCommand extends Command implements BaseCommand {
    private final List aliases = new ArrayList<>();
    
    public SubCommand(String label, String description) {
        super(label, description);
    }
    
    public final List getAliases() {
        return aliases;
    }
        
    protected final void createAlias(String alias) {
        this.aliases.add(new Alias(alias, this));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy