com.alpine.plugin.test.mock

OperatorDialogMock

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addAdvancedSparkSettingsBox(id: String, label: String, availableValues: List[SparkParameter]): DialogElement

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

    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
  8. def addCheckboxesFromJavaList(id: String, label: String, values: List[String], defaultSelections: List[String], required: Boolean): Checkboxes

    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
  9. def addChorusFileDropdownBox(id: String, label: String, extensionFilter: Set[String], isRequired: Boolean, linkText: Option[String]): ChorusFileDropdown

    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
  10. def addChorusFileDropdownBox(id: String, label: String, extensionFilter: Set[String], isRequired: Boolean): ChorusFileDropdown

    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
  11. def addDBSchemaDropdownBox(id: String, label: String, defaultSchema: String): DBSchemaDropdownBox

    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
  12. def addDBTableDropdownBox(id: String, label: String, schemaBoxID: String): DBTableDropdownBox

    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
  13. def addDataSourceDropdownBox(id: String, label: String, dataSourceManager: OperatorDataSourceManager): DataSourceDropdownBox

    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.

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

    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 addDropdownBox(id: String, label: String, values: Seq[String], defaultSelection: String): DropdownBox

    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
  16. def addDropdownBoxFromJavaList(id: String, label: String, values: List[String], defaultSelection: String): DropdownBox

    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
  17. def addHdfsDirectorySelector(id: String, label: String, defaultPath: String, required: Boolean): HdfsFileSelector

    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
  18. def addHdfsDirectorySelector(id: String, label: String, defaultPath: String): HdfsFileSelector

    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
  19. def addHdfsFileSelector(id: String, label: String, defaultPath: String, required: Boolean): HdfsFileSelector

    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
  20. def addHdfsFileSelector(id: String, label: String, defaultPath: String): HdfsFileSelector

    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
  21. def addIntegerBox(id: String, label: String, min: Int, max: Int, defaultValue: Int): IntegerBox

    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
  22. def addLargeStringBox(id: String, label: String, defaultValue: String, regex: String, required: Boolean): StringBox

    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
  23. def addParentOperatorDropdownBox(id: String, label: String, required: Boolean): ParentOperatorDropdownBox

    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
  24. def addParentOperatorDropdownBox(id: String, label: String): ParentOperatorDropdownBox

    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
  25. def addPasswordBox(id: String, label: String, regex: String, required: Boolean): StringBox

    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.

    returns

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

    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
  27. def addRadioButtonsFromJavaList(id: String, label: String, values: List[String], defaultSelection: String): RadioButtons

    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
  28. def addStringBox(id: String, label: String, defaultValue: String, regex: String, required: Boolean): StringBox

    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
  29. def addStringBox(id: String, label: String, defaultValue: String, regex: String, width: Int, height: Int): StringBox

    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
  30. def addTabularDatasetColumnCheckboxes(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean, parentBoxID: Option[String]): TabularDatasetColumnCheckboxes

    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
  31. def addTabularDatasetColumnCheckboxes(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean): TabularDatasetColumnCheckboxes

    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
  32. def addTabularDatasetColumnDropdownBox(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean, parentBoxID: Option[String]): TabularDatasetColumnDropdownBox

    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
  33. def addTabularDatasetColumnDropdownBox(id: String, label: String, columnFilter: ColumnFilter, selectionGroupId: String, required: Boolean): TabularDatasetColumnDropdownBox

    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
  34. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  35. def clone(): AnyRef

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

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

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

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

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

    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
  41. def getDialogElements: Seq[DialogElement]

    Get an iterator of dialog elements.

    Get an iterator of dialog elements.

    returns

    The dialog elements.

    Definition Classes
    OperatorDialogMockOperatorDialog
  42. def getLabel: String

    Get the label for this dialog box.

    Get the label for this dialog box.

    returns

    Get the label.

    Definition Classes
    OperatorDialogMockOperatorDialog
  43. def getNewParameters: OperatorParametersMock

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

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

  45. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  48. final def notify(): Unit

    Definition Classes
    AnyRef
  49. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  52. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OperatorDialog

Inherited from AnyRef

Inherited from Any

Ungrouped