Interface AutomationLinkService
- All Known Implementing Classes:
AutomationLinkServiceImpl
public interface AutomationLinkService
-
Method Summary
Modifier and TypeMethodDescriptiongetGlobalAdminLinkForRule(TenantContext context, com.codebarrel.automation.api.config.RuleConfigBean ruleConfig) Gets the absolute url for the supplied rule configuration, forcing it to be viewed from the global admin UIgetLinkForRule(TenantContext context, com.codebarrel.automation.api.config.RuleConfigBean ruleConfig) Gets the absolute url for the supplied rule configuration
-
Method Details
-
getLinkForRule
Optional<String> getLinkForRule(TenantContext context, com.codebarrel.automation.api.config.RuleConfigBean ruleConfig) Gets the absolute url for the supplied rule configuration- Parameters:
context- the tenant contextruleConfig- the rule configuration- Returns:
- An optional containing the absolute url for the rule configuration
-
getGlobalAdminLinkForRule
Optional<String> getGlobalAdminLinkForRule(TenantContext context, com.codebarrel.automation.api.config.RuleConfigBean ruleConfig) Gets the absolute url for the supplied rule configuration, forcing it to be viewed from the global admin UI- Parameters:
context- the tenant contextruleConfig- the rule configuration- Returns:
- An optional containing the absolute url for the rule configuration
-