Class GarageRole
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.garages.permissions.GarageRole
-
Constructor Summary
ConstructorsConstructorDescriptionGarageRole
(@NotNull String roleName) Constructor for the GarageRoleGarageRole
(@NotNull String roleName, @NotNull GaragePermissions permissions) -
Method Summary
Modifier and TypeMethodDescription@NotNull GaragePermissions
The name of the garage role@NotNull String
The name of the garage rolevoid
setPermissions
(@NotNull GaragePermissions permissions) The name of the garage rolevoid
setRoleName
(@NotNull String roleName) The name of the garage role
-
Constructor Details
-
GarageRole
Constructor for the GarageRole- Parameters:
roleName
- The name of the garage role
-
GarageRole
public GarageRole(@NotNull @NotNull String roleName, @NotNull @NotNull GaragePermissions permissions)
-
-
Method Details
-
getRoleName
The name of the garage role -
getPermissions
The name of the garage role -
setRoleName
The name of the garage role -
setPermissions
The name of the garage role
-