Record Class ConfiguredRole
java.lang.Object
java.lang.Record
io.camunda.security.configuration.ConfiguredRole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclients()Returns the value of theclientsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.groups()Returns the value of thegroupsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themappingRulesrecord component.name()Returns the value of thenamerecord component.roleId()Returns the value of theroleIdrecord component.final StringtoString()Returns a string representation of this record class.users()Returns the value of theusersrecord component.
-
Constructor Details
-
ConfiguredRole
public ConfiguredRole(String roleId, String name, String description, List<String> users, List<String> clients, List<String> mappingRules, List<String> groups) Creates an instance of aConfiguredRolerecord class.- Parameters:
roleId- the value for theroleIdrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentusers- the value for theusersrecord componentclients- the value for theclientsrecord componentmappingRules- the value for themappingRulesrecord componentgroups- the value for thegroupsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
roleId
Returns the value of theroleIdrecord component.- Returns:
- the value of the
roleIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
users
Returns the value of theusersrecord component.- Returns:
- the value of the
usersrecord component
-
clients
Returns the value of theclientsrecord component.- Returns:
- the value of the
clientsrecord component
-
mappingRules
Returns the value of themappingRulesrecord component.- Returns:
- the value of the
mappingRulesrecord component
-
groups
Returns the value of thegroupsrecord component.- Returns:
- the value of the
groupsrecord component
-