Interface ServiceConfigProvider<C extends SelfServiceConsoleConfig>

Type Parameters:
C - the console configuration type

@SupportedAll public interface ServiceConfigProvider<C extends SelfServiceConsoleConfig>
Provides self service config instances based of the passed console configuration instance.
  • Method Details

    • isServiceEnabled

      boolean isServiceEnabled(C config)
      Determines whether the specific service is enabled.
      Parameters:
      config - the console config
      Returns:
      whether the service is enabled
    • getServiceConfig

      ProcessInstanceConfig getServiceConfig(C config, Context context, String realm)
      Provides the self service config for the appropriate flow.
      Parameters:
      config - the console config
      context - CREST context
      realm - the current realm
      Returns:
      service config