Class/Object

com.alpine.plugin.test.mock

OperatorDialogMock

Related Docs: object OperatorDialogMock | package mock

Permalink

class OperatorDialogMock extends OperatorDialog

Linear Supertypes
OperatorDialog, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OperatorDialogMock
  2. OperatorDialog
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OperatorDialogMock(overrideParams: OperatorParametersMock, input: IOBase)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAdvancedSparkSettingsBox(id: String, label: String, availableValues: List[SparkParameter]): DialogElement

    Permalink
    Definition Classes
    OperatorDialogMockOperatorDialog
  5. def addCheckboxes(id: String, label: String, values: Seq[String], defaultSelections: Seq[String], required: Boolean): Checkboxes

    Permalink

    Add a button that opens a multiple checkbox dialog box.

    Add a button that opens a multiple checkbox dialog box.

    id

    String id of this input box.

    label

    The visual label of this input box.

    values

    Available checkbox values.

    defaultSelections

    Default selected checkboxes.

    required

    Whether the user is required to select a value for this parameter.

    returns

    A checkboxes element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  6. def addCheckboxesFromJavaList(id: String, label: String, values: List[String], defaultSelections: List[String], required: Boolean): Checkboxes

    Permalink

    Add a button that opens a multiple checkbox dialog box.

    Add a button that opens a multiple checkbox dialog box. This version is Java-friendly

    id

    String id of this input box.

    label

    The visual label of this input box.

    values

    Available checkbox values as java.util.List

    defaultSelections

    Default selected checkboxes.

    required

    Whether the user is required to select a value for this parameter.

    returns

    A checkboxes element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  7. def addChorusFileDropdownBox(id: String, label: String, extensionFilter: Set[String], isRequired: Boolean, linkText: Option[String]): ChorusFileDropdown

    Permalink

    id

    String id of dropdown box. This corresponds to the id for this parameter in OperatorsParameters.

    label

    The visual label of this dropdown box.

    extensionFilter

    e.g. Seq(.pynb) for python notebooks

    isRequired

    Whether the user is required to select a value for this parameter.

    linkText

    If specified, a link button with label textLink will show up at the bottom right of the dropdown selector. Clicking on this button will open a new browser tab with URL of the workfile selected.

    returns

    A ChorusFileDropdown element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  8. def addChorusFileDropdownBox(id: String, label: String, extensionFilter: Set[String], isRequired: Boolean): ChorusFileDropdown

    Permalink

    id

    String id of dropdown box. This corresponds to the id for this parameter in OperatorsParameters.

    label

    The visual label of this dropdown box.

    extensionFilter

    e.g. Seq(.pynb) for python notebooks

    isRequired

    Whether the user is required to select a value for this parameter.

    returns

    A ChorusFileDropdown element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  9. def addChorusFileDropdownBox(setup: ChorusFileSelectorSetup): ChorusFileDropdown

    Permalink
  10. def addDBSchemaDropdownBox(id: String, label: String, defaultSchema: String): DBSchemaDropdownBox

    Permalink

    Add a schema selection box.

    Add a schema selection box. This can be used to select the schema for the output table location, etc. This will be a dropdown menu.

    id

    String id of this input box. This is used later to reference the value of this input box.

    label

    The visual label of this input box.

    defaultSchema

    The default value to be used in the input box.

    returns

    A DB schema dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  11. def addDBTableDropdownBox(id: String, label: String, schemaBoxID: String): DBTableDropdownBox

    Permalink

    Add a table selection box.

    Add a table selection box. This can be used to select an existing table for an input or an output table.

    id

    String id of this input box. This is used later to reference the value of this input box.

    label

    The visual label of this input box.

    schemaBoxID

    The id of the schema dialog element, to know which

    returns

    A DB table dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  12. def addDataSourceDropdownBox(id: String, label: String, dataSourceManager: OperatorDataSourceManager): DataSourceDropdownBox

    Permalink

    Add a data source selection box.

    Add a data source selection box. This can be used to select a particular data source if the workflow is associated with multiple data sources.

    id

    String id of this box. This is used later to reference the value of this input box.

    label

    This visual label of this input box.

    dataSourceManager

    The data source manager that contains the information about the available data sources as well as the chosen data source.

    returns

    A data source dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
    Exceptions thrown

    Exception It could throw an exception if the user tried to add more than one data source selection box to an operator dialog object.

  13. def addDialogElement(des: DialogElementSetup): DialogElement

    Permalink
    Definition Classes
    OperatorDialogMockOperatorDialog
  14. def addDoubleBox(id: String, label: String, min: Double, max: Double, inclusiveMin: Boolean, inclusiveMax: Boolean, defaultValue: Double): DoubleBox

    Permalink

    Add a double text box.

    Add a double text box.

    id

    String id of this input box.

    label

    The visual label of this input box.

    min

    The minimum value.

    max

    The maximum value.

    inclusiveMin

    Whether the minimum is an inclusive value.

    inclusiveMax

    Whether the maximum is an inclusive value.

    defaultValue

    The default value for the double.

    returns

    A double box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  15. def addDoubleBox(setup: NumericDialogElementSetup): DoubleBox

    Permalink
  16. def addDropdownBox(id: String, label: String, values: Seq[String], defaultSelection: String): DropdownBox

    Permalink

    Add a dropdown menu (a multiple choice input).

    Add a dropdown menu (a multiple choice input).

    id

    String id of this input box.

    label

    The visual label of this input box.

    values

    Available checkbox values.

    defaultSelection

    Default selected vale.

    returns

    A dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  17. def addDropdownBox(setup: DropdownBoxSetup): DropdownBox

    Permalink
  18. def addDropdownBoxFromJavaList(id: String, label: String, values: List[String], defaultSelection: String): DropdownBox

    Permalink

    Add a dropdown menu (a multiple choice input).

    Add a dropdown menu (a multiple choice input). This version is Java-friendly.

    id

    String id of this input box.

    label

    The visual label of this input box.

    values

    Available checkbox values from java.util.List

    defaultSelection

    Default selected vale.

    returns

    A dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  19. def addHdfsDirectorySelector(id: String, label: String, defaultPath: String, required: Boolean): HdfsFileSelector

    Permalink

    Add a Hdfs directory selection box.

    Add a Hdfs directory selection box. This can be used to select an Hdfs directory that already exists through an interactive selection window.

    id

    String id of this input box. This is used later to reference the value of this input box.

    label

    The visual label of this input box.

    defaultPath

    The default value to be used in the input box.

    returns

    A Hdfs directory selection box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  20. def addHdfsDirectorySelector(id: String, label: String, defaultPath: String): HdfsFileSelector

    Permalink

    Add a Hdfs directory selection box.

    Add a Hdfs directory selection box. This can be used to select an Hdfs directory that already exists through an interactive selection window.

    id

    String id of this input box. This is used later to reference the value of this input box.

    label

    The visual label of this input box.

    defaultPath

    The default value to be used in the input box.

    returns

    A Hdfs directory selection box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  21. def addHdfsFileSelector(id: String, label: String, defaultPath: String, required: Boolean): HdfsFileSelector

    Permalink

    Add a Hdfs file selection box.

    Add a Hdfs file selection box. This can be used to select an Hdfs file that already exists through an interactive selection window.

    id

    String id of this input box. This is used later to reference the value of this input box.

    label

    The visual label of this input box.

    defaultPath

    The default value to be used in the input box.

    returns

    A Hdfs file selection box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  22. def addHdfsFileSelector(id: String, label: String, defaultPath: String): HdfsFileSelector

    Permalink

    Add a Hdfs file selection box.

    Add a Hdfs file selection box. This can be used to select an Hdfs file that already exists through an interactive selection window.

    id

    String id of this input box. This is used later to reference the value of this input box.

    label

    The visual label of this input box.

    defaultPath

    The default value to be used in the input box.

    returns

    A Hdfs file selection box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  23. def addIntegerBox(id: String, label: String, min: Int, max: Int, defaultValue: Int): IntegerBox

    Permalink

    Add an integer text box.

    Add an integer text box.

    id

    String id of this input box.

    label

    The visual label of this input box.

    min

    The minimum accepted value for the integer.

    max

    The maximum accepted value for the integer.

    defaultValue

    The default value for the integer.

    returns

    An integer box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  24. def addIntegerBox(setup: IntegerDialogElementSetup): IntegerBox

    Permalink
  25. def addLargeStringBox(id: String, label: String, defaultValue: String, regex: String, required: Boolean): StringBox

    Permalink

    Add a large string input box.

    Add a large string input box.

    id

    String id of this input box.

    label

    The visual label of this input box.

    defaultValue

    The default value in the string box.

    regex

    The regular expression constraint for the input box.

    required

    Boolean indicating whether the value must be non-empty.

    returns

    A string box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  26. def addOutputDirectorySelector(id: String, label: String, required: Boolean): HdfsFileSelector

    Permalink
    Definition Classes
    OperatorDialogMockOperatorDialog
  27. def addParentOperatorDropdownBox(id: String, label: String, required: Boolean): ParentOperatorDropdownBox

    Permalink

    Add a drop down box that can be used to select a parent operator name.

    Add a drop down box that can be used to select a parent operator name. This is useful to point to a particular parent's output for a particular use.

    id

    String id of this input box.

    label

    The visual label of this input box.

    required

    Whether the user is required to select a value for this parameter.

    returns

    A parent operator dropdown box.

    Definition Classes
    OperatorDialogMockOperatorDialog
  28. def addParentOperatorDropdownBox(id: String, label: String): ParentOperatorDropdownBox

    Permalink

    Add a drop down box that can be used to select a parent operator name.

    Add a drop down box that can be used to select a parent operator name. This is useful to point to a particular parent's output for a particular use.

    Equivalent to label, true)

    id

    String id of this input box.

    label

    The visual label of this input box.

    returns

    A parent operator dropdown box.

    Definition Classes
    OperatorDialogMockOperatorDialog
  29. def addParentOperatorDropdownBox(setup: ParentOperatorSelectorSetup): ParentOperatorDropdownBox

    Permalink
  30. def addPasswordBox(id: String, label: String, regex: String, required: Boolean): StringBox

    Permalink

    Add a string box that obfuscates the characters typed.

    Add a string box that obfuscates the characters typed. Note: In its current implementation, the passowrd cannot be seen in the UI, but is not in any other way more secure. The value of the password will still show up in a downloaded xml file.

    id

    String id of this input box.

    label

    The visual label of this input box.

    regex

    The regular expression constraint for the input box. Default is "+." (any char)

    required

    Boolean indicating whether the value must be non-empty.

    Definition Classes
    OperatorDialogMockOperatorDialog
  31. def addRadioButtons(id: String, label: String, values: Seq[String], defaultSelection: String): RadioButtons

    Permalink

    Add a radio button input (a multiple choice input).

    Add a radio button input (a multiple choice input).

    id

    String id of this input box.

    label

    The visual label of this input box.

    values

    Available checkbox values

    defaultSelection

    Default selected button.

    returns

    A radio button element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  32. def addRadioButtons(setup: RadioButtonSetup): RadioButtons

    Permalink
  33. def addRadioButtonsFromJavaList(id: String, label: String, values: List[String], defaultSelection: String): RadioButtons

    Permalink

    Add a radio button input (a multiple choice input).

    Add a radio button input (a multiple choice input). This version is Java-friendly.

    id

    String id of this input box.

    label

    The visual label of this input box.

    values

    Available checkbox values as java.util.List

    defaultSelection

    Default selected button.

    returns

    A radio button element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  34. def addRowDialog(setup: RowDialogSetup): DialogElement

    Permalink
  35. def addScriptEditPopup(id: String, label: String, scriptType: String, required: Boolean): DialogElement

    Permalink

    Add a script edit dialog accessed via a button.

    Add a script edit dialog accessed via a button. The scriptType parameter determines what language will be used for pretty printing and keyword completion.

    scriptType

    Allowed values - "sql", "r", "pig", "python"

    Definition Classes
    OperatorDialogMockOperatorDialog
  36. def addScriptEditPopup(setup: ScriptEditPopupSetup): DialogElement

    Permalink
  37. def addStringBox(id: String, label: String, defaultValue: String, regex: String, required: Boolean): StringBox

    Permalink

    Add a string input box.

    Add a string input box.

    id

    String id of this input box.

    label

    The visual label of this input box.

    defaultValue

    The default value in the string box.

    regex

    The regular expression constraint for the input box.

    required

    Boolean indicating whether the value must be non-empty.

    returns

    A string box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  38. def addStringBox(id: String, label: String, defaultValue: String, regex: String, width: Int, height: Int): StringBox

    Permalink

    Add a string input box.

    Add a string input box.

    id

    String id of this input box.

    label

    The visual label of this input box.

    defaultValue

    The default value in the string box.

    regex

    The regular expression constraint for the input box.

    width

    Number of pixels for the width. 0 will use a default value.

    height

    Number of pixels for the height. 0 will use a default value.

    returns

    A string box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  39. def addStringBox(setup: StringDialogElementSetup): StringBox

    Permalink
  40. def addTabularDatasetColumnCheckboxes(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean, parentBoxID: Option[String]): TabularDatasetColumnCheckboxes

    Permalink

    Add a button for column checkboxes for a dataset input.

    Add a button for column checkboxes for a dataset input. This can be used to select multiple columns from a tabular dataset input. I.e., this will match tabular datasets coming in as inputs. In case of multiple dataset inputs, you'll need a separate column selector per dataset input (with a distinct parentBoxId).

    id

    String id for this parameter set.

    label

    The label (prefix) for this parameter set. In case there are multiple input datasets, each column selector button will be prefixed by this label.

    columnFilter

    Filter the columns that are selectable by their types.

    selectionGroupId

    If we want the available selections in this group to be dependent on other column selectors such that there's no duplicate selections, one could put multiple column selectors (checkboxes and/or dropboxes) in the same group.

    required

    Whether the user is required to select a value for this parameter.

    returns

    An input column checkboxes element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  41. def addTabularDatasetColumnCheckboxes(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean): TabularDatasetColumnCheckboxes

    Permalink

    Add a button for column checkboxes for a dataset input.

    Add a button for column checkboxes for a dataset input. This can be used to select multiple columns from a tabular dataset input. I.e., this will match tabular datasets coming in as inputs. In case of multiple dataset inputs, use the method with parameter parentBoxId.

    id

    String id for this parameter set.

    label

    The label (prefix) for this parameter set. In case there are multiple input datasets, each column selector button will be prefixed by this label.

    columnFilter

    Filter the columns that are selectable by their types.

    selectionGroupId

    If we want the available selections in this group to be dependent on other column selectors such that there's no duplicate selections, one could put multiple column selectors (checkboxes and/or dropboxes) in the same group.

    required

    Whether the user is required to select a value for this parameter.

    returns

    An input column checkboxes element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  42. def addTabularDatasetColumnDropdownBox(setup: TabularDatasetColumnDropdownSetup): SingleElementSelectorMock with TabularDatasetColumnDropdownBox

    Permalink
  43. def addTabularDatasetColumnDropdownBox(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean, parentBoxID: Option[String]): TabularDatasetColumnDropdownBox

    Permalink

    Add a column selector dropdown box for a dataset input.

    Add a column selector dropdown box for a dataset input. This can be used to select a single column from a tabular dataset. In case of multiple tabular dataset inputs, you'll need a separate column selector per dataset input (with a distinct parentBoxId).

    id

    String id for this parameter set.

    label

    The label (prefix) for this parameter set. In case there are multiple input datasets, each column selector button will be prefixed by this label.

    columnFilter

    Filter the columns that are selectable by their types.

    selectionGroupId

    If we want the available selections in this group to be dependent on other column selectors such that there's no duplicate selections, one could put multiple column selectors (checkboxes and/or dropboxes) in the same group.

    required

    Whether the user is required to select a value for this parameter.

    returns

    A single column selector dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  44. def addTabularDatasetColumnDropdownBox(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean): TabularDatasetColumnDropdownBox

    Permalink

    Add a column selector dropdown box for a dataset input.

    Add a column selector dropdown box for a dataset input. This can be used to select a single column from a tabular dataset. In case of multiple dataset inputs, use the method with parameter parentBoxId.

    id

    String id for this parameter set.

    label

    The label (prefix) for this parameter set. In case there are multiple input datasets, each column selector button will be prefixed by this label.

    columnFilter

    Filter the columns that are selectable by their types.

    selectionGroupId

    If we want the available selections in this group to be dependent on other column selectors such that there's no duplicate selections, one could put multiple column selectors (checkboxes and/or dropboxes) in the same group.

    required

    Whether the user is required to select a value for this parameter.

    returns

    A single column selector dropdown box element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  45. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  46. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  48. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  49. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  50. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  51. def getDialogElement(id: String): DialogElement

    Permalink

    Get a dialog element by the Id.

    Get a dialog element by the Id.

    id

    The id of the dialog element that we want to retrieve.

    returns

    The matching dialog element.

    Definition Classes
    OperatorDialogMockOperatorDialog
  52. def getDialogElements: Seq[DialogElement]

    Permalink

    Get an iterator of dialog elements.

    Get an iterator of dialog elements.

    returns

    The dialog elements.

    Definition Classes
    OperatorDialogMockOperatorDialog
  53. def getLabel: String

    Permalink

    Get the label for this dialog box.

    Get the label for this dialog box.

    returns

    Get the label.

    Definition Classes
    OperatorDialogMockOperatorDialog
  54. def getNewParameters: OperatorParametersMock

    Permalink

    Returns a new mock parameters object with all the parameters that were added to this dialog object.

  55. def getTypeMapForColumnSelector(parentBoxID: Option[String], id: String): Map[String, TypeValue]

    Permalink
  56. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  57. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  58. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  59. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. val schemas: Seq[(String, TabularSchema)]

    Permalink
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  64. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OperatorDialog

Inherited from AnyRef

Inherited from Any

Ungrouped