Package org.apache.flink.table.factories
Class WorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContext
java.lang.Object
org.apache.flink.table.factories.WorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContext
- All Implemented Interfaces:
WorkflowSchedulerFactory.Context
- Enclosing class:
- WorkflowSchedulerFactoryUtil
@Internal
public static class WorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContext
extends Object
implements WorkflowSchedulerFactory.Context
Default implementation of
WorkflowSchedulerFactory.Context.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultWorkflowSchedulerContext(org.apache.flink.configuration.ReadableConfig configuration, Map<String, String> workflowSchedulerConfig) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.configuration.ReadableConfigGives the config option to createWorkflowScheduler.Returns the options with which the workflow scheduler is created.
-
Constructor Details
-
DefaultWorkflowSchedulerContext
-
-
Method Details
-
getConfiguration
public org.apache.flink.configuration.ReadableConfig getConfiguration()Description copied from interface:WorkflowSchedulerFactory.ContextGives the config option to createWorkflowScheduler.- Specified by:
getConfigurationin interfaceWorkflowSchedulerFactory.Context
-
getWorkflowSchedulerOptions
Description copied from interface:WorkflowSchedulerFactory.ContextReturns the options with which the workflow scheduler is created. All options that are prefixed with the workflow scheduler identifier are included in the map.All the keys in the options are pruned with the prefix. For example, the option
workflow-scheduler.airflow.endpoint's key isendpointin the map.An implementation should perform validation of these options.
- Specified by:
getWorkflowSchedulerOptionsin interfaceWorkflowSchedulerFactory.Context
-