com.alpine.plugin.test.mock

OperatorParametersMock

class OperatorParametersMock extends OperatorParameters with Serializable

Linear Supertypes
OperatorParameters, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OperatorParametersMock
  2. OperatorParameters
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OperatorParametersMock(operatorName: String, operatorUUID: String)

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(parameterId: String): Boolean

    Find out whether or not the given parameter Id is contained in the object.

    Find out whether or not the given parameter Id is contained in the object.

    parameterId

    The Id of the parameter that we want to search for.

    returns

    true if the parameter is contained. false otherwise.

    Definition Classes
    OperatorParametersMockOperatorParameters
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(operatorParameters: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getAdvancedSparkParameters(): Map[String, String]

  13. def getChorusFile(parameterId: String): Option[ChorusFile]

    Get the chorus file stored added by a "ChorusFileSelector" parameter.

    Get the chorus file stored added by a "ChorusFileSelector" parameter. The return type is a case class with a id and a name field.

    If no file was selected, this will return None.

    Definition Classes
    OperatorParametersMockOperatorParameters
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getDoubleValue(parameterId: String): Double

    Get the value of a parameter as a double.

    Get the value of a parameter as a double.

    parameterId

    The parameter Id that was used with an input field in the OperatorDialog object.

    returns

    The parameter value as a double.

    Definition Classes
    OperatorParametersMockOperatorParameters
  16. def getIntValue(parameterId: String): Int

    Get the value of a parameter as an integer.

    Get the value of a parameter as an integer.

    parameterId

    The parameter Id that was used with an input field in the OperatorDialog object.

    returns

    The parameter value as an integer.

    Definition Classes
    OperatorParametersMockOperatorParameters
  17. def getParameterIds(): Iterator[String]

    Get an iterator of parameter Ids.

    Get an iterator of parameter Ids.

    returns

    An iterator of parameter Ids.

    Definition Classes
    OperatorParametersMockOperatorParameters
  18. def getStringArrayValue(parameterId: String): Array[String]

    Get the string array value of a parameter (a checkboxes parameter).

    Get the string array value of a parameter (a checkboxes parameter).

    parameterId

    The parameter Id of the multi item selector (checkboxes).

    returns

    An array of selected values.

    Definition Classes
    OperatorParametersMockOperatorParameters
  19. def getStringValue(parameterId: String): String

    Get the value of a parameter as a string.

    Get the value of a parameter as a string. If the parameter is a TabularColumnDropDownBox then this returns the same value as "getTabularDatasetSelectedColumn". If it is a chorus file object, then it will return the WorkfileId (e.g. the same as getChorusFile.workfileId) It will throw an exception if the param is one of the following types: TabularColumnCheckboxes, Checkboxes.

    parameterId

    The parameter Id that was used with an input field in the OperatorDialog object.

    returns

    The parameter value as a string.

    Definition Classes
    OperatorParametersMockOperatorParameters
  20. def getTabularDatasetSelectedColumn(parameterId: String): (String, String)

    Get the selected column from a tabular dataset output of an input operator.

    Get the selected column from a tabular dataset output of an input operator. NOTE: If the parameter was not required and the user didn't select a column this will return an empty string.

    parameterId

    The parameter Id of the column dropdown dialog element.

    returns

    A tuple of a source operator name and a selected column name.

    Definition Classes
    OperatorParametersMockOperatorParameters
  21. def getTabularDatasetSelectedColumnName(parameterId: String): String

    Get the selected column from a tabular dataset output of an input operator.

    Get the selected column from a tabular dataset output of an input operator. This is a Java-friendly version. NOTE: If the parameter was not required and the user didn't select a column this will return an empty string.

    parameterId

    The parameter Id of the column dropdown dialog element.

    returns

    The selected column name.

    Definition Classes
    OperatorParametersMockOperatorParameters
  22. def getTabularDatasetSelectedColumnNames(parameterId: String): Array[String]

    Get the selected columns from a tabular dataset output of an input operator.

    Get the selected columns from a tabular dataset output of an input operator. This is a Java-friendly version. NOTE: If the parameter was not required and the user did not input a value then this method will return and empty array.

    parameterId

    The parameter Id of the column checkboxes dialog element.

    returns

    An array of selected column names.

    Definition Classes
    OperatorParametersMockOperatorParameters
  23. def getTabularDatasetSelectedColumns(parameterId: String): (String, Array[String])

    Get the selected columns from a tabular dataset output of an input operator.

    Get the selected columns from a tabular dataset output of an input operator. NOTE: If the parameter was not required and the user did not input a value then this method will return and empty array.

    parameterId

    The parameter Id of the column checkboxes dialog element.

    returns

    A tuple of a source operator name and an array of selected column names.

    Definition Classes
    OperatorParametersMockOperatorParameters
  24. def getValue(parameterId: String): AnyRef

    Get the value of a parameter as a reference object.

    Get the value of a parameter as a reference object.

    parameterId

    The parameter Id that was used with an input field in the OperatorDialog object.

    returns

    The parameter value as a reference object.

    Definition Classes
    OperatorParametersMockOperatorParameters
  25. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  30. def operatorInfo(): OperatorInfo

  31. def setChorusFile(parameterId: String, file: ChorusFile): Unit

  32. def setValue(parameterId: String, value: Any): Unit

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OperatorParameters

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped