TransformationSettings

data class TransformationSettings(val id: String, val transformerId: String, val scope: Set<TransformationScope>, val configuration: DataObject = DataObject.EMPTY_OBJECT, val conditions: Rule<Condition>? = null) : DataObjectConvertible

Describes the relationship between this TransformationSettings and Transformer that it belongs to, as well as any TransformationScopes that it may be applicable for.

Parameters

id

The unique identifier for this transformation.

transformerId

The identifier of the Transformer to use to apply the transformation identified by id.

scope

The set of TransformationScopes that this transformation is applicable for.

configuration

Configuration required by the transformation

Constructors

Link copied to clipboard
constructor(id: String, transformerId: String, scope: Set<TransformationScope>, configuration: DataObject = DataObject.EMPTY_OBJECT, conditions: Rule<Condition>? = null)

Properties

Link copied to clipboard
val conditions: Rule<Condition>? = null
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:

Link copied to clipboard
open override fun asDataObject(): DataObject

Should return an instance of a asDataObject that represents all required properties of the implementing class, such that it could be: