public class CommentVisibility extends Object
Constructor and Description |
---|
CommentVisibility(Map params,
String paramName)
Gets a commentLevel string out of a map and then will tell you if the
provided param is a role or group level visiblity param.
|
CommentVisibility(String commentLevel)
Digests the passed in commentLevel string, will look something like
'role:ProjectRole' or 'group:jira-users'.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommentLevelFromLevels(String groupLevel,
Long roleLevelId) |
String |
getGroupLevel()
Gets the group level from the commentLevel if it is of type group, null
otherwise.
|
String |
getRoleLevel()
Gets the role level from the commentLevel if it is of type role, null
otherwise.
|
static String |
getRoleLevelWithPrefix(String roleLevel) |
public CommentVisibility(Map params, String paramName)
public CommentVisibility(String commentLevel)
commentLevel
- public String getRoleLevel()
public String getGroupLevel()
public static String getCommentLevelFromLevels(String groupLevel, Long roleLevelId)
Copyright © 2002-2015 Atlassian. All Rights Reserved.