Class Acl.Project (2.21.0)

public static final class Acl.Project extends Acl.Entity

Class for ACL Project entities.

Inheritance

Object > Acl.Entity > Acl.Project

Constructors

Project(Acl.Project.ProjectRole projectRole, String projectId)

public Project(Acl.Project.ProjectRole projectRole, String projectId)

Creates a project entity.

Parameters
Name Description
projectRole Acl.Project.ProjectRole

a role in the project, used to select project's teams

projectId String

id of the project

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getProjectId()

public String getProjectId()

Returns the project id for this entity.

Returns
Type Description
String

getProjectRole()

public Acl.Project.ProjectRole getProjectRole()

Returns the role in the project for this entity.

Returns
Type Description
Acl.Project.ProjectRole

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides