com.atlassian.jira.functest.framework.admin
Class PermissionSchemesImpl
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.admin.PermissionSchemesImpl
- All Implemented Interfaces:
- PermissionSchemes, PermissionSchemes.PermissionScheme, FuncTestLogger
public class PermissionSchemesImpl
- extends AbstractFuncTestUtil
- implements PermissionSchemes, PermissionSchemes.PermissionScheme
Implements the PermissionSchemes
and
PermissionSchemes.PermissionScheme
interfaces.
- Since:
- v4.0
Constructor Summary |
PermissionSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionSchemesImpl
public PermissionSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
defaultScheme
public PermissionSchemes.PermissionScheme defaultScheme()
- Description copied from interface:
PermissionSchemes
- Navigates to the Default Permission Scheme.
- Specified by:
defaultScheme
in interface PermissionSchemes
- Returns:
- the Default Permission Scheme to operate on.
scheme
public PermissionSchemes.PermissionScheme scheme(String schemeName)
- Description copied from interface:
PermissionSchemes
- Navigates to the scheme with the specified name.
- Specified by:
scheme
in interface PermissionSchemes
- Parameters:
schemeName
- the permission scheme name.
- Returns:
- the Permission Scheme with the given name.
grantPermissionToGroup
public void grantPermissionToGroup(int permission,
String groupName)
- Specified by:
grantPermissionToGroup
in interface PermissionSchemes.PermissionScheme
removePermission
public void removePermission(int permission,
String groupName)
- Specified by:
removePermission
in interface PermissionSchemes.PermissionScheme
getNavigation
protected Navigation getNavigation()
Copyright © 2002-2012 Atlassian. All Rights Reserved.