public static final class Acl.Project extends Acl.EntityClass for ACL Project entities.
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.ProjectRolea role in the project, used to select project's teams |
projectId |
Stringid of the project |
Methods
equals(Object o)
public boolean equals(Object o)| Parameter | |
|---|---|
| Name | Description |
o |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|