com.atlassian.jira.webtests
Class LegacyProjectPermissionKeyMapping

java.lang.Object
  extended by com.atlassian.jira.webtests.LegacyProjectPermissionKeyMapping

public class LegacyProjectPermissionKeyMapping
extends Object

Mirrors JIRA's com.atlassian.jira.permission.LegacyProjectPermissionKeyMapping class (necessary as func tests do not depend on JIRA core)


Field Summary
static com.google.common.collect.BiMap<Integer,ProjectPermissionKey> ID_TO_KEY
           
 
Constructor Summary
LegacyProjectPermissionKeyMapping()
           
 
Method Summary
static Integer getId(ProjectPermissionKey key)
           
static Integer getId(String key)
           
static String getKey(Integer id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_TO_KEY

public static final com.google.common.collect.BiMap<Integer,ProjectPermissionKey> ID_TO_KEY
Constructor Detail

LegacyProjectPermissionKeyMapping

public LegacyProjectPermissionKeyMapping()
Method Detail

getKey

public static String getKey(Integer id)

getId

public static Integer getId(ProjectPermissionKey key)

getId

public static Integer getId(String key)


Copyright © 2002-2014 Atlassian. All Rights Reserved.