Package com.zeroc.Glacier2
Class PermissionsVerifier.CheckPermissionsResult
java.lang.Object
com.zeroc.Glacier2.PermissionsVerifier.CheckPermissionsResult
- Enclosing interface:
- PermissionsVerifier
Holds the result of operation checkPermissions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe reason why access was denied.boolean
True if access is granted, or false otherwise. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CheckPermissionsResult
(boolean returnValue, String reason) This constructor makes shallow copies of the results for operation CheckPermissions. -
Method Summary
-
Field Details
-
returnValue
public boolean returnValueTrue if access is granted, or false otherwise. -
reason
The reason why access was denied.
-
-
Constructor Details
-
CheckPermissionsResult
public CheckPermissionsResult()Default constructor. -
CheckPermissionsResult
This constructor makes shallow copies of the results for operation CheckPermissions.- Parameters:
returnValue
- True if access is granted, or false otherwise.reason
- The reason why access was denied.
-
-
Method Details
-
write
-
read
-