Class DMSourceInputBuilder


public final class DMSourceInputBuilder extends AbstractInputBuilder<DMSourceInputBuilder,String>
  • Constructor Details

  • Method Details

    • setTypes

      public DMSourceInputBuilder setTypes(String... typeCodes)
      Parameters:
      typeCodes - the source typeCodes
      Returns:
      self
      Since:
      9.0 Hurricane
      See Also:
    • addType

      public DMSourceInputBuilder addType(String typeCode)
      Add the source types to be displayed in the drop down list.
      Parameters:
      typeCode - the source typeCode
      Returns:
      self
      Since:
      9.0 Hurricane
      See Also:
    • setTypes

      public DMSourceInputBuilder setTypes(Collection<String> typeCodes)
      Defines the type codes of the sources that will be provided in the drop-down list selector.

      For example, this will produce a selector providing only DataMarts and DataSources:

      
       def builder = api.inputBuilderFactory().createDMSource("DMSource").setTypes(["DMDS", "DM"])
       

      Available type codes are:

      • DM
        for DataMarts
      • DMDS
        for DataSources
      • DMF
        for DataFeeds
      • DMM
        for DataMartModels
      • DMT
        for ModelTables
      • DMSIM
        for DataMartSims
      Parameters:
      typeCodes - a Collection of source type codes
      Returns:
      self
      Since:
      9.0 Hurricane
    • _getInput

      protected Object _getInput()
      Specified by:
      _getInput in class AbstractInputBuilder<DMSourceInputBuilder,String>