|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.roles.MockProjectRoleManager.MockRoleActor
Field Summary | |
static String |
INVALID_PARAMETER
|
static String |
TYPE
|
Constructor Summary | |
MockProjectRoleManager.MockRoleActor(Long id,
ProjectRole projectRole,
Project project,
Set users,
String type,
String parameter)
|
Method Summary | |
boolean |
equals(Object o)
|
String |
getDescriptor()
Returns a pretty viewable representation of the contents of the RoleActor (e.g. |
Long |
getId()
The id for the Role Actor |
String |
getParameter()
Returns the string that identifies the target of this role actor (ex. |
String |
getPrettyName()
Gets the pretty viewable name for this role actor, this is the user-presentable version of the role actors type. |
Project |
getProject()
Gets the project this is associated with. |
ProjectRole |
getProjectRole()
This will get the ProjectRole that this RoleActor belongs to. |
String |
getType()
Returns a string that identifies the implementation type. |
Set |
getUsers()
Will provide a Set of users encapsulated by this RoleActor. |
int |
hashCode()
|
void |
setId(Long id)
|
void |
setParameter(String parameter)
Sets the implementation specific configuration data. |
void |
setProject(Project project)
Sets the project. |
void |
setProjectRole(ProjectRole projectRole)
Sets the project role. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String INVALID_PARAMETER
public static final String TYPE
Constructor Detail |
public MockProjectRoleManager.MockRoleActor(Long id, ProjectRole projectRole, Project project, Set users, String type, String parameter)
Method Detail |
public Long getId()
RoleActor
getId
in interface RoleActor
public void setId(Long id)
setId
in interface RoleActor
public ProjectRole getProjectRole()
RoleActor
getProjectRole
in interface RoleActor
public void setProjectRole(ProjectRole projectRole)
RoleActor
setProjectRole
in interface RoleActor
projectRole
- to setpublic Project getProject()
ProjectRoleActor
getProject
in interface ProjectRoleActor
public void setProject(Project project)
ProjectRoleActor
setProject
in interface ProjectRoleActor
project
- to setpublic String getPrettyName()
RoleActor
getPrettyName
in interface RoleActor
public String getDescriptor()
RoleActor
RoleActorComparator
for sorting.
getDescriptor
in interface RoleActor
public String getType()
RoleActor
getType
in interface RoleActor
public String getParameter()
RoleActor
getParameter
in interface RoleActor
public Set getUsers()
RoleActor
getUsers
in interface RoleActor
public void setParameter(String parameter)
RoleActor
setParameter
in interface RoleActor
parameter
- the configuration parameter.public boolean equals(Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |