Record Class AuthConfig.PermissionRequest
java.lang.Object
java.lang.Record
com.loomcache.common.config.AuthConfig.PermissionRequest
- Enclosing class:
AuthConfig
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionRequest(String command, String resourceType, String resourceName, String action) Creates an instance of aPermissionRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.command()Returns the value of thecommandrecord component.static AuthConfig.PermissionRequestfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresourceNamerecord component.Returns the value of theresourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PermissionRequest
Creates an instance of aPermissionRequestrecord class.- Parameters:
command- the value for thecommandrecord componentresourceType- the value for theresourceTyperecord componentresourceName- the value for theresourceNamerecord componentaction- the value for theactionrecord component
-
-
Method Details
-
command
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
command
Returns the value of thecommandrecord component.- Returns:
- the value of the
commandrecord component
-
resourceType
Returns the value of theresourceTyperecord component.- Returns:
- the value of the
resourceTyperecord component
-
resourceName
Returns the value of theresourceNamerecord component.- Returns:
- the value of the
resourceNamerecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-