Class MockProjectRoleManager.MockProjectRole

java.lang.Object
com.atlassian.jira.mock.MockProjectRoleManager.MockProjectRole
All Implemented Interfaces:
ProjectRole
Enclosing class:
MockProjectRoleManager

public static class MockProjectRoleManager.MockProjectRole extends Object implements ProjectRole
  • Constructor Details

    • MockProjectRole

      public MockProjectRole(long id, String name, String description)
  • Method Details

    • getId

      public Long getId()
      Description copied from interface: ProjectRole
      Will return the unique identifier for this project role.
      Specified by:
      getId in interface ProjectRole
      Returns:
      Long the unique id for this proejct role.
    • getName

      public String getName()
      Description copied from interface: ProjectRole
      Will get the name of this role, null if not set.
      Specified by:
      getName in interface ProjectRole
      Returns:
      name or null if not set
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
      Description copied from interface: ProjectRole
      Will get the description of this role, null if not set.
      Specified by:
      getDescription in interface ProjectRole
      Returns:
      description or null if not set
    • setDescription

      public void setDescription(String description)
    • toString

      public String toString()
      Overrides:
      toString in class Object