standard javadoc

This commit is contained in:
Gabriele C
2015-11-21 01:31:18 +01:00
parent 118c79401a
commit bd1f868c6d
94 changed files with 1176 additions and 1174 deletions
@@ -91,7 +91,7 @@ public class PermissionsManager {
* Check if the permissions manager is currently hooked into any of the supported permissions systems.
*
d.
* @return False if there isn't any permissions system used. */
* @return False if there isn't any permissions system used. */
public boolean isEnabled() {
return !permsType.equals(PermissionsSystemType.NONE);
}
@@ -100,7 +100,7 @@ public class PermissionsManager {
* Return the permissions system where the permissions manager is currently hooked into.
*
e.
* @return Permissions system type. */
* @return Permissions system type. */
public PermissionsSystemType getUsedPermissionsSystemType() {
return this.permsType;
}
@@ -109,7 +109,7 @@ public class PermissionsManager {
* Setup and hook into the permissions systems.
*
m.
* @return The detected permissions system. */
* @return The detected permissions system. */
public PermissionsSystemType setup() {
// Define the plugin manager
final PluginManager pm = this.server.getPluginManager();
@@ -246,7 +246,7 @@ public class PermissionsManager {
* Reload the permissions manager, and re-hook all permission plugins.
*
e.
* @return True on success, false on failure. */
* @return True on success, false on failure. */
public boolean reload() {
// Unhook all permission plugins
unhook();
@@ -300,7 +300,7 @@ public class PermissionsManager {
* Get the logger instance.
*
e.
* @return Logger instance. */
* @return Logger instance. */
public Logger getLogger() {
return this.log;
}
@@ -321,7 +321,7 @@ public class PermissionsManager {
* @param permsNode Permissions node.
*
n.
* @return True if the player has permission. */
* @return True if the player has permission. */
public boolean hasPermission(Player player, String permsNode) {
return hasPermission(player, permsNode, player.isOp());
}
@@ -334,7 +334,7 @@ public class PermissionsManager {
* @param def Default returned if no permissions system is used.
*
n.
* @return True if the player has permission. */
* @return True if the player has permission. */
public boolean hasPermission(Player player, String permsNode, boolean def) {
if(!isEnabled())
// No permissions system is used, return default
@@ -389,8 +389,8 @@ public class PermissionsManager {
/**
* Method getGroups.
* @param player Player
* @return List<String>
*/
g>
* @return List<String> */
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public List<String> getGroups(Player player) {
if(!isEnabled())
@@ -461,8 +461,8 @@ public class PermissionsManager {
/**
* Method getName.
* @return String
*/
ng
* @return String */
public String getName() {
return this.name;
}