Class Acl.Project (2.22.3)

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
NameDescription
projectRoleAcl.Project.ProjectRole

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

projectIdString

id of the project

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getProjectId()

public String getProjectId()

Returns the project id for this entity.

Returns
TypeDescription
String

getProjectRole()

public Acl.Project.ProjectRole getProjectRole()

Returns the role in the project for this entity.

Returns
TypeDescription
Acl.Project.ProjectRole

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides