Fix some javadoc warnings
This commit is contained in:
@@ -16,52 +16,72 @@ public interface ProxyConfig
|
||||
|
||||
/**
|
||||
* Time before users are disconnected due to no network activity.
|
||||
*
|
||||
* @return timeout
|
||||
*/
|
||||
int getTimeout();
|
||||
|
||||
/**
|
||||
* UUID used for metrics.
|
||||
*
|
||||
* @return uuid
|
||||
*/
|
||||
String getUuid();
|
||||
|
||||
/**
|
||||
* Set of all listeners.
|
||||
*
|
||||
* @return listeners
|
||||
*/
|
||||
Collection<ListenerInfo> getListeners();
|
||||
|
||||
/**
|
||||
* Set of all servers.
|
||||
*
|
||||
* @return servers
|
||||
*/
|
||||
Map<String, ServerInfo> getServers();
|
||||
|
||||
/**
|
||||
* Does the server authenticate with mojang
|
||||
* Does the server authenticate with Mojang.
|
||||
*
|
||||
* @return online mode
|
||||
*/
|
||||
boolean isOnlineMode();
|
||||
|
||||
/**
|
||||
* Whether proxy commands are logged to the proxy log
|
||||
* Whether proxy commands are logged to the proxy log.
|
||||
*
|
||||
* @return log commands
|
||||
*/
|
||||
boolean isLogCommands();
|
||||
|
||||
/**
|
||||
* Returns the player max.
|
||||
*
|
||||
* @return player limit
|
||||
*/
|
||||
int getPlayerLimit();
|
||||
|
||||
/**
|
||||
* A collection of disabled commands.
|
||||
*
|
||||
* @return disabled commands
|
||||
*/
|
||||
Collection<String> getDisabledCommands();
|
||||
|
||||
/**
|
||||
* The connection throttle delay.
|
||||
*
|
||||
* @return throttle
|
||||
*/
|
||||
@Deprecated
|
||||
int getThrottle();
|
||||
|
||||
/**
|
||||
* Whether the proxy will parse IPs with spigot or not
|
||||
*
|
||||
* @return ip forward
|
||||
*/
|
||||
@Deprecated
|
||||
boolean isIpForward();
|
||||
@@ -69,6 +89,7 @@ public interface ProxyConfig
|
||||
/**
|
||||
* The encoded favicon.
|
||||
*
|
||||
* @return favicon
|
||||
* @deprecated Use #getFaviconObject instead.
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -76,6 +97,8 @@ public interface ProxyConfig
|
||||
|
||||
/**
|
||||
* The favicon used for the server ping list.
|
||||
*
|
||||
* @return favicon
|
||||
*/
|
||||
Favicon getFaviconObject();
|
||||
}
|
||||
|
@@ -52,6 +52,8 @@ public abstract class ProxyServer
|
||||
/**
|
||||
* Gets a localized string from the .properties file.
|
||||
*
|
||||
* @param name translation name
|
||||
* @param args translation arguments
|
||||
* @return the localized string
|
||||
*/
|
||||
public abstract String getTranslation(String name, Object... args);
|
||||
|
@@ -148,6 +148,9 @@ public class PluginManager
|
||||
* @param sender the sender executing the command
|
||||
* @param commandLine the complete command line including command name and
|
||||
* arguments
|
||||
* @param tabResults list to place tab results into. If this list is non
|
||||
* null then the command will not be executed and tab results will be
|
||||
* returned instead.
|
||||
* @return whether the command was handled
|
||||
*/
|
||||
public boolean dispatchCommand(CommandSender sender, String commandLine, List<String> tabResults)
|
||||
@@ -440,6 +443,8 @@ public class PluginManager
|
||||
|
||||
/**
|
||||
* Unregister all of a Plugin's listener.
|
||||
*
|
||||
* @param plugin target plugin
|
||||
*/
|
||||
public void unregisterListeners(Plugin plugin)
|
||||
{
|
||||
|
@@ -86,6 +86,7 @@ public interface TaskScheduler
|
||||
/**
|
||||
* An executor service which underlies this scheduler.
|
||||
*
|
||||
* @param plugin owning plugin
|
||||
* @return the underlying executor service or compatible wrapper
|
||||
*/
|
||||
ExecutorService getExecutorService(Plugin plugin);
|
||||
|
Reference in New Issue
Block a user