Class InstrumentMapRTIndicatorBuilder<T extends RTIndicator>
java.lang.Object
com.wualabs.qtsurfer.engine.indicators.helpers.group.InstrumentMapRTIndicatorBuilder<T>
- Type Parameters:
T- The RTIndicator type
- Direct Known Subclasses:
WindowTimeRTIndicatorBuilder
Allow building other compound/helper RTIndicators around an existing map of indicators.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstrumentMapRTIndicatorBuilder(@NonNull InstrumentMapRTIndicator indicators, BiConsumer<String, T> buildIndicatorConsumer) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the indicator viabuildInternal()and registers it with the consumer (typically adding it to the instrument's indicator map).protected abstract Tprotected Optional<RTIndicator> protected RTIndicatorprotected Optional<RTIndicator> getReadOnly(String name) protected InstrumentMapRTIndicatorBuilder<T> protected InstrumentMapRTIndicatorBuilder<T> of(@NonNull RTIndicator indicator) protected InstrumentMapRTIndicatorBuilder<T>
-
Constructor Details
-
InstrumentMapRTIndicatorBuilder
protected InstrumentMapRTIndicatorBuilder(@NonNull @NonNull InstrumentMapRTIndicator indicators, BiConsumer<String, T> buildIndicatorConsumer)
-
-
Method Details
-
build
Builds the indicator viabuildInternal()and registers it with the consumer (typically adding it to the instrument's indicator map). The name may be null for auto-named indicators.- Returns:
- the built indicator instance
-
get
-
getReadOnly
-
name
-
of
-
of
-
getIndicator
-
buildInternal
-