Class ProjectRoles
java.lang.Object
com.linecorp.centraldogma.server.metadata.ProjectRoles
Represents the roles assigned to project members and guests for a specific repository.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectRoles
(@Nullable RepositoryRole member, @Nullable RepositoryRole guest) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
guest()
Returns the role assigned to project guests for this repository.int
hashCode()
member()
Returns the role assigned to project members for this repository.static ProjectRoles
of
(@Nullable RepositoryRole member, @Nullable RepositoryRole guest) Returns a newProjectRoles
with the specifiedRepositoryRole
s.toString()
-
Constructor Details
-
ProjectRoles
public ProjectRoles(@Nullable @Nullable RepositoryRole member, @Nullable @Nullable RepositoryRole guest) Creates a new instance.
-
-
Method Details
-
of
public static ProjectRoles of(@Nullable @Nullable RepositoryRole member, @Nullable @Nullable RepositoryRole guest) Returns a newProjectRoles
with the specifiedRepositoryRole
s. -
member
Returns the role assigned to project members for this repository. -
guest
Returns the role assigned to project guests for this repository. -
equals
-
hashCode
public int hashCode() -
toString
-