Package com.structurizr.configuration
Class User
java.lang.Object
com.structurizr.configuration.User
- All Implemented Interfaces:
Comparable<User>
Represents a user, and the role-based access they have to a workspace.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
User
-
-
Method Details
-
getUsername
Gets the username (e.g. e-mail address).- Returns:
- the username, as a String
-
getRole
Gets the role.- Returns:
- a Role enum
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<User>
-