ModuleSettingsBuilder

open class ModuleSettingsBuilder

A base class that adds the enabled setter for SettingsBuilders that are Optional and therefore can be disabled.

  • A custom dictionary that holds the configuration for this module. Do not use this one directly unless you are subclassing this class.

    Declaration

    Swift

    public var _configurationObject: DataObject
  • Creates a new module settings builder.

    Declaration

    Swift

    public init()
  • Set the enabled flag for these settings.

    Declaration

    Swift

    public func setEnabled(_ enabled: Bool) -> Self
  • Set the order in which the Module needs to be initialized.

    Declaration

    Swift

    public func setOrder(_ order: Int) -> Self
  • Declaration

    Swift

    public func build() -> DataObject

    Return Value

    the DataObject representing the ModuleSettings object.