public class DefaultServiceTypes extends Object implements ServiceTypes
| Constructor and Description |
|---|
DefaultServiceTypes(InBuiltServiceTypes inBuiltServiceTypes,
PermissionManager permissionManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCustom(String serviceClassName)
Determines whether the service class has not shipped with JIRA.
|
boolean |
isInBuilt(String serviceClassName)
Determines whether the service class has shipped with JIRA.
|
boolean |
isManageableBy(ApplicationUser user,
String serviceClassName)
Determines whether an user is able to perform administrative tasks on services of an specified class.
|
public DefaultServiceTypes(InBuiltServiceTypes inBuiltServiceTypes, PermissionManager permissionManager)
public boolean isCustom(String serviceClassName)
ServiceTypesisCustom in interface ServiceTypesserviceClassName - The name of the service class.public boolean isInBuilt(String serviceClassName)
ServiceTypesisInBuilt in interface ServiceTypesserviceClassName - The name of the service class.public boolean isManageableBy(ApplicationUser user, String serviceClassName)
ServiceTypesisManageableBy in interface ServiceTypesuser - The user in play.serviceClassName - The class of the service to check.Copyright © 2002-2021 Atlassian. All Rights Reserved.