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

net.badbird5907.blib.command.Completer Maven / Gradle / Ivy

There is a newer version: 2.1.11-REL
Show newest version
package net.badbird5907.blib.command;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Command Framework - Completer 
* The completer annotation used to designate methods as command completers. All * methods should have a single CommandArgs argument and return a String List * object * * @author minnymin3/Badbird5907/OctoPvP Dev team * */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface Completer { /** * The command that this completer completes. If it is a sub command then * its values would be separated by periods. ie. a command that would be a * subcommand of test would be 'test.subcommandname' * * @return command name */ String name(); /** * A list of alternate names that the completer is executed under. See * name() for details on how names work * * @return aliases */ String[] aliases() default {}; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy