Class Acl.Project (2.9.2)

public static final class Acl.Project extends Acl.Entity

Class for ACL Project entities.

Inheritance

java.lang.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

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