package definition
- Alphabetic
- Public
- Protected
Type Members
- sealed trait AdditionalVariable extends AnyRef
- case class AdditionalVariableProvidedInRuntime(typingResult: TypingResult) extends AdditionalVariable with Product with Serializable
- case class AdditionalVariableWithFixedValue(value: Any, typingResult: TypingResult) extends AdditionalVariable with Product with Serializable
- trait CustomParameterValidator extends Validator
- case class CustomParameterValidatorDelegate(name: String) extends ParameterValidator with Product with Serializable
- case class DictParameterEditor(dictId: String) extends SimpleParameterEditor with Product with Serializable
- case class DualParameterEditor(simpleEditor: SimpleParameterEditor, defaultMode: DualEditorMode) extends ParameterEditor with Product with Serializable
- case class DurationParameterEditor(timeRangeComponents: List[ChronoUnit]) extends SimpleParameterEditor with Product with Serializable
- case class FixedValuesParameterEditor(possibleValues: List[FixedExpressionValue]) extends SimpleParameterEditor with Product with Serializable
- case class FixedValuesValidator(possibleValues: List[FixedExpressionValue]) extends ParameterValidator with Product with Serializable
- case class FixedValuesWithIconParameterEditor(possibleValues: List[FixedExpressionValueWithIcon]) extends SimpleParameterEditor with Product with Serializable
- case class MaximalNumberValidator(maximalNumber: BigDecimal) extends ParameterValidator with Product with Serializable
- case class MinimalNumberValidator(minimalNumber: BigDecimal) extends ParameterValidator with Product with Serializable
- sealed trait NodeDependency extends AnyRef
- case class Parameter(name: ParameterName, typ: TypingResult, editor: Option[ParameterEditor], validators: List[ParameterValidator], defaultValue: Option[Expression], additionalVariables: Map[String, AdditionalVariable], variablesToHide: Set[String], branchParam: Boolean, isLazyParameter: Boolean, scalaOptionParameter: Boolean, javaOptionalParameter: Boolean, hintText: Option[String], labelOpt: Option[String]) extends NodeDependency with Product with Serializable
- sealed trait ParameterCreator[DEPENDENCY] extends Serializable
- sealed trait ParameterCreatorWithNoDependency extends Serializable
- class ParameterDeclarationBuilder[T <: ParamType] extends AnyRef
- sealed trait ParameterEditor extends AnyRef
- sealed abstract class ParameterExtractor[PARAMETER_VALUE_TYPE] extends Serializable
- sealed trait ParameterValidator extends Validator
Extend this trait to configure new parameter validator which should be handled on FE.
Extend this trait to configure new parameter validator which should be handled on FE. Please remember that you have to also add your own
pl.touk.nussknacker.engine.definition.validator.ValidatorExtractor
topl.touk.nussknacker.engine.definition.validator.ValidatorsExtractor
which should decide whether new validator should appear in configuration for certain parameterTODO: It shouldn't be a sealed trait. We should allow everyone to create own ParameterValidator TODO: This being sealed also makes the tests of cases that use these validators dependant on the code here - not good/unseal!!
- case class PeriodParameterEditor(timeRangeComponents: List[ChronoUnit]) extends SimpleParameterEditor with Product with Serializable
- case class RegExpParameterValidator(pattern: String, message: String, description: String) extends ParameterValidator with Product with Serializable
- sealed trait SimpleParameterEditor extends ParameterEditor
- case class TypedNodeDependency[T](clazz: Class[_]) extends NodeDependency with ValueExtractor with Product with Serializable
- case class ValidationExpressionParameterValidatorToCompile(validationExpression: Expression, validationFailedMessage: Option[String]) extends ParameterValidator with Product with Serializable
- trait Validator extends AnyRef
- trait ValueExtractor extends AnyRef
This trait reduce boilerplate defining
DynamicComponent
and reduce risk that definition of node dependencies will desynchronize with implementation code using values - trait WithExplicitTypesToExtract extends AnyRef
Value Members
- object AdditionalVariableProvidedInRuntime extends Serializable
- object AdditionalVariableWithFixedValue extends Serializable
- case object BoolParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object CompileTimeEvaluableValueValidator extends ParameterValidator with Product with Serializable
- case object CronParameterEditor extends SimpleParameterEditor with Product with Serializable
- object CustomParameterValidatorDelegate extends Serializable
- case object DateParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object DateTimeParameterEditor extends SimpleParameterEditor with Product with Serializable
- object DictParameterEditor extends Serializable
- object DualParameterEditor extends Serializable
- object DurationParameterEditor extends Serializable
- object FixedValuesParameterEditor extends Serializable
- object FixedValuesWithIconParameterEditor extends Serializable
- case object JsonParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object JsonValidator extends ParameterValidator with Product with Serializable
- case object LiteralIntegerValidator extends ParameterValidator with Product with Serializable
- case object MandatoryParameterValidator extends ParameterValidator with Product with Serializable
- object NotBlankParameter
- case object NotBlankParameterValidator extends ParameterValidator with Product with Serializable
- case object NotNullParameterValidator extends ParameterValidator with Product with Serializable
- case object OutputVariableNameDependency extends NodeDependency with ValueExtractor with Product with Serializable
- object Parameter extends Serializable
- object ParameterDeclaration
It is helper class that holds runtime value type next to definition of parameter.
It is helper class that holds runtime value type next to definition of parameter. It reduce boilerplate defining
DynamicComponent
and reduce risk that definition of parameter will desynchronize with implementation code using values - object ParameterDeclarationBuilder
- object ParameterEditor
- object ParameterExtractor extends Serializable
- object ParameterValidator
- object PeriodParameterEditor extends Serializable
- case object RawParameterEditor extends ParameterEditor with Product with Serializable
- object SimpleParameterEditor
- case object SpelTemplateParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object SqlParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object StringParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object TabularTypedDataEditor extends SimpleParameterEditor with Product with Serializable
- case object TextareaParameterEditor extends SimpleParameterEditor with Product with Serializable
- case object TimeParameterEditor extends SimpleParameterEditor with Product with Serializable
- object TypedNodeDependency extends Serializable
- object ValidationExpressionParameterValidatorToCompile extends Serializable