/** * Creates a new flow builder context. * @param flowId the id to assign the flow being built * @param flowAttributes attributes to assign the flow being built * @param flowDefinitionLocator a locator to find dependent subflows * @param flowBuilderServices a parameter object providing access to additional services needed by the flow builder */ public FlowBuilderContextImpl(String flowId, AttributeMap<Object> flowAttributes, FlowDefinitionLocator flowDefinitionLocator, FlowBuilderServices flowBuilderServices) { Assert.hasText(flowId, "The flow id is required"); Assert.notNull(flowDefinitionLocator, "The flow definition locator is required"); Assert.notNull(flowBuilderServices, "The flow builder services holder is required"); this.flowId = flowId; initFlowAttributes(flowAttributes); this.flowDefinitionLocator = flowDefinitionLocator; this.flowBuilderServices = flowBuilderServices; this.conversionService = createConversionService(); }
/** * Creates a new flow builder context. * @param flowId the id to assign the flow being built * @param flowAttributes attributes to assign the flow being built * @param flowDefinitionLocator a locator to find dependent subflows * @param flowBuilderServices a parameter object providing access to additional services needed by the flow builder */ public FlowBuilderContextImpl(String flowId, AttributeMap<Object> flowAttributes, FlowDefinitionLocator flowDefinitionLocator, FlowBuilderServices flowBuilderServices) { Assert.hasText(flowId, "The flow id is required"); Assert.notNull(flowDefinitionLocator, "The flow definition locator is required"); Assert.notNull(flowBuilderServices, "The flow builder services holder is required"); this.flowId = flowId; initFlowAttributes(flowAttributes); this.flowDefinitionLocator = flowDefinitionLocator; this.flowBuilderServices = flowBuilderServices; this.conversionService = createConversionService(); }
/** * Creates a new flow builder context. * @param flowId the id to assign the flow being built * @param flowAttributes attributes to assign the flow being built * @param flowDefinitionLocator a locator to find dependent subflows * @param flowBuilderServices a parameter object providing access to additional services needed by the flow builder */ public FlowBuilderContextImpl(String flowId, AttributeMap flowAttributes, FlowDefinitionLocator flowDefinitionLocator, FlowBuilderServices flowBuilderServices) { Assert.hasText(flowId, "The flow id is required"); Assert.notNull(flowDefinitionLocator, "The flow definition locator is required"); Assert.notNull(flowBuilderServices, "The flow builder services holder is required"); this.flowId = flowId; initFlowAttributes(flowAttributes); this.flowDefinitionLocator = flowDefinitionLocator; this.flowBuilderServices = flowBuilderServices; this.conversionService = createConversionService(); }