new (require("nmodule/export/rc/TransformOperation"))(transformer, object)
Parameters:
| Name | Type | Description |
|---|---|---|
transformer |
module:nmodule/export/rc/Transformer | the transformer that will perform the transform operation |
object |
* | the object to be transformed |
Methods
-
doTransform(cx)
-
Parameters:
Name Type Description cxobject transform context. This will be passed to the transform() method.
Returns:
- Type
- Promise
-
getDisplayName()
-
Returns:
the display name to be shown to the user to allow him or her to choose to perform this transform operation
- Type
- String
-
getTransformedObject()
-
Returns:
the object to be transformed
- Type
- *
-
getTransformer()
-
Returns:
the transformer that will perform the transform operation