diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2013-01-14 20:02:22 -0500 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2013-01-14 20:02:22 -0500 |
commit | 8e54bf13b281d1299c3dc33f89940bd3a06d1a30 (patch) | |
tree | e3195164270d7c8e52fbd48ebd4e4623e1c07e09 /EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java | |
parent | 232052b7d24c14d0fa9089cbc8c16e6435779998 (diff) | |
download | Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar.gz Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar.lz Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar.xz Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.zip |
Remove Transient :: Formatting Cleanup
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java index eb6633863..df6e4b1cc 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/utils/PermissionCheckResult.java @@ -6,15 +6,16 @@ package org.anjocaido.groupmanager.utils; import org.anjocaido.groupmanager.data.DataUnit; + /** - * + * * @author gabrielcouto */ -public class PermissionCheckResult { - +public class PermissionCheckResult +{ /** * It should be the owner of the access level found. - * + * * Use instanceof to find the owner type */ public DataUnit owner; @@ -27,40 +28,34 @@ public class PermissionCheckResult { */ public String askedPermission; /** - * The result conclusion of the search. - * It determines if the owner can do, or not. - * + * The result conclusion of the search. It determines if the owner can do, or not. + * * It even determines if it has an owner. */ public Type resultType = Type.NOTFOUND; + /** * The type of result the search can give. */ - public enum Type { - + public enum Type + { /** - * If found a matching node starting with '+'. - * It means the user CAN do the permission. + * If found a matching node starting with '+'. It means the user CAN do the permission. */ EXCEPTION, /** - * If found a matching node starting with '-'. - * It means the user CANNOT do the permission. + * If found a matching node starting with '-'. It means the user CANNOT do the permission. */ NEGATION, /** - * If just found a common matching node. - * IT means the user CAN do the permission. + * If just found a common matching node. IT means the user CAN do the permission. */ FOUND, /** - * If no matchin node was found. - * It means the user CANNOT do the permission. - * - * owner field and accessLevel field should not be considered, - * when type is - * NOTFOUND + * If no matchin node was found. It means the user CANNOT do the permission. + * + * owner field and accessLevel field should not be considered, when type is NOTFOUND */ NOTFOUND } |