Class Roles
java.lang.Object
com.linecorp.centraldogma.server.metadata.Roles
- All Implemented Interfaces:
HasWeight
Role metadata for a repository.
-
Constructor Summary
ConstructorsConstructorDescriptionRoles
(ProjectRoles projectRoles, Map<String, RepositoryRole> users, Map<String, RepositoryRole> tokens) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
Returns theProjectRoles
of the repository.tokens()
Returns theRepositoryRole
s of tokens.toString()
users()
Returns theRepositoryRole
s of users.int
weight()
Returns the weight of this object.
-
Constructor Details
-
Roles
public Roles(ProjectRoles projectRoles, Map<String, RepositoryRole> users, Map<String, RepositoryRole> tokens) Creates a new instance.
-
-
Method Details
-
projectRoles
Returns theProjectRoles
of the repository. -
users
Returns theRepositoryRole
s of users. -
tokens
Returns theRepositoryRole
s of tokens. -
weight
public int weight()Description copied from interface:HasWeight
Returns the weight of this object. -
equals
-
hashCode
public int hashCode() -
toString
-