Class AutomationLinkServiceImpl

java.lang.Object
com.codebarrel.automation.api.service.AutomationLinkServiceImpl
All Implemented Interfaces:
AutomationLinkService

public class AutomationLinkServiceImpl extends Object implements AutomationLinkService
  • Constructor Details

  • Method Details

    • getLinkForRule

      public Optional<String> getLinkForRule(TenantContext context, com.codebarrel.automation.api.config.RuleConfigBean ruleConfig)
      Description copied from interface: AutomationLinkService
      Gets the absolute url for the supplied rule configuration
      Specified by:
      getLinkForRule in interface AutomationLinkService
      Parameters:
      context - the tenant context
      ruleConfig - the rule configuration
      Returns:
      An optional containing the absolute url for the rule configuration
    • getGlobalAdminLinkForRule

      public Optional<String> getGlobalAdminLinkForRule(TenantContext context, com.codebarrel.automation.api.config.RuleConfigBean ruleConfig)
      Description copied from interface: AutomationLinkService
      Gets the absolute url for the supplied rule configuration, forcing it to be viewed from the global admin UI
      Specified by:
      getGlobalAdminLinkForRule in interface AutomationLinkService
      Parameters:
      context - the tenant context
      ruleConfig - the rule configuration
      Returns:
      An optional containing the absolute url for the rule configuration