Class RestHelperWrapper
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.common.RestHelperWrapper
-
@Component public class RestHelperWrapper extends Object
This is a convenience wrapper to be able to mock RestHelper in unit testing
-
-
Constructor Summary
Constructors Constructor Description RestHelperWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertGlobalPermission(@NotNull BambooPermission permission)
void
assertGlobalPermission(@NotNull BambooPermission permission, @NotNull String errorMessage)
void
assertRestrictedAdminPermission()
void
assertSystemAdminPermission()
I18nBean
getI18nBean()
-
-
-
Method Detail
-
assertRestrictedAdminPermission
public void assertRestrictedAdminPermission()
-
assertSystemAdminPermission
public void assertSystemAdminPermission()
-
assertGlobalPermission
public void assertGlobalPermission(@NotNull @NotNull BambooPermission permission)
-
assertGlobalPermission
public void assertGlobalPermission(@NotNull @NotNull BambooPermission permission, @NotNull @NotNull String errorMessage)
-
getI18nBean
public I18nBean getI18nBean()
-
-