Class Roles
java.lang.Object
com.linecorp.centraldogma.server.metadata.Roles
- All Implemented Interfaces:
HasWeight
-
Constructor Summary
ConstructorsConstructorDescriptionRoles(ProjectRoles projectRoles, Map<String, RepositoryRole> users, @Nullable Map<String, RepositoryRole> tokens, @Nullable Map<String, RepositoryRole> appIds) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionappIds()Returns theRepositoryRoles of app identities.booleaninthashCode()Returns theProjectRolesof the repository.toString()users()Returns theRepositoryRoles of users.intweight()Returns the weight of this object.
-
Constructor Details
-
Roles
public Roles(ProjectRoles projectRoles, Map<String, RepositoryRole> users, @Nullable Map<String, RepositoryRole> tokens, @Nullable Map<String, RepositoryRole> appIds) Creates a new instance.
-
-
Method Details
-
projectRoles
Returns theProjectRolesof the repository. -
users
Returns theRepositoryRoles of users. -
appIds
Returns theRepositoryRoles of app identities. -
weight
-
equals
-
hashCode
-
toString
-