Class EntityFlagServiceImpl
java.lang.Object
com.codebarrel.automation.sample.rules.service.EntityFlagServiceImpl
- All Implemented Interfaces:
EntityFlagService
-
Constructor Summary
ConstructorsConstructorDescriptionEntityFlagServiceImpl(ClientFactory<JIRAClient> jiraClientFactory, TenantService tenantService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasProjectFlag(TenantActor tenantActor, String projectKey, String flagName) Checks if a project has entity property (flagName), if it does then returns truebooleanhasTenantTag(TenantActor tenantActor, String flagName) Checks if tenant has property (flagName), if it does then returns truevoidsetProjectFlag(TenantActor tenantActor, String projectKey, String flagName) Adds an entity property (flagName) and sets it to true.voidsetTenantFlag(TenantActor tenantActor, String flagName) Adds a tenant property (flagName) and sets it to true.
-
Constructor Details
-
EntityFlagServiceImpl
@Inject public EntityFlagServiceImpl(ClientFactory<JIRAClient> jiraClientFactory, TenantService tenantService)
-
-
Method Details
-
setTenantFlag
Description copied from interface:EntityFlagServiceAdds a tenant property (flagName) and sets it to true.- Specified by:
setTenantFlagin interfaceEntityFlagService
-
hasTenantTag
Description copied from interface:EntityFlagServiceChecks if tenant has property (flagName), if it does then returns true- Specified by:
hasTenantTagin interfaceEntityFlagService
-
setProjectFlag
Description copied from interface:EntityFlagServiceAdds an entity property (flagName) and sets it to true.- Specified by:
setProjectFlagin interfaceEntityFlagService
-
hasProjectFlag
Description copied from interface:EntityFlagServiceChecks if a project has entity property (flagName), if it does then returns true- Specified by:
hasProjectFlagin interfaceEntityFlagService
-