Class DMSourceInputBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth
-
Field Summary
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Add the source types to be displayed in the drop down list.setTypes
(Collection<String> typeCodes) Defines the type codes of the sources that will be provided in the drop-down list selector.Methods inherited from class AbstractInputBuilder
addOrUpdateInput, addToConfiguratorEntry, addToConfiguratorEntry, buildContextParameter, buildMap, getInput, self, setAccessCode, setAlign, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDefaultWidth, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setNoRefresh, setParameterGroup, setPlaceholderText, setReadOnly, setRequired, setShowInline, setSize, setSuccessMessage, setTheme, setTitle, setUserGroupEdit, setUserGroupView, setValue, setValueHint, setWarningMessage, setWidth
-
Constructor Details
-
DMSourceInputBuilder
-
-
Method Details
-
setTypes
- Parameters:
typeCodes
- the source typeCodes- Returns:
- self
- Since:
- 9.0 Hurricane
- See Also:
-
addType
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
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 DataMartsDMDS
for DataSourcesDMF
for DataFeedsDMM
for DataMartModelsDMT
for ModelTablesDMSIM
for DataMartSims
- Parameters:
typeCodes
- aCollection
of source type codes- Returns:
- self
- Since:
- 9.0 Hurricane
-
_getInput
- Specified by:
_getInput
in classAbstractInputBuilder<DMSourceInputBuilder,
String>
-