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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessInstanceConfig
getServiceConfig(C config, Context context, String realm)
Provides the self service config for the appropriate flow.boolean
isServiceEnabled(C config)
Determines whether the specific service is enabled.
-
-
-
Method Detail
-
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 configcontext
- CREST contextrealm
- the current realm- Returns:
- service config
-
-