Interface ProjectRole

All Known Implementing Classes:
MockProjectRoleManager.MockProjectRole, ProjectRoleImpl

@PublicApi public interface ProjectRole
A way to group users (RoleActors) with projects.

An example would be a global role called "testers". If you have a project X and a project Y, you would then be able to configure different RoleActors in the "testers" role for project X than for project Y.

You can use ProjectRole objects as the target of Notification and Permission schemes.

  • Method Summary

    Modifier and Type
    Method
    Description
    Will get the description of this role, null if not set.
    Will return the unique identifier for this project role.
    Will get the name of this role, null if not set.
  • Method Details

    • getId

      Long getId()
      Will return the unique identifier for this project role.
      Returns:
      Long the unique id for this proejct role.
    • getName

      String getName()
      Will get the name of this role, null if not set.
      Returns:
      name or null if not set
    • getDescription

      String getDescription()
      Will get the description of this role, null if not set.
      Returns:
      description or null if not set