Customer Portal

What shall init method return?

Comments 1

  • Avatar
    slechtaj
    0
    Comment actions Permalink
    Hi Varkashy,

    As per documentation (http://doc.cloveretl.com/documentation/ ... iners.html ), init() method returns boolean. When true means the graph continues, whilst false will result in graph failure. Therefore if you want for some reason to end the transformation during the initialization, you may simply make this method return false.

    Since transformations implement methods of the RecordTransform interface (and inherits other common methods from the Transform interface), you do not need to invoke any superclass method.

    If you would like to inherit from existing component it would make sense to call the superclass.

    Hope this helps.

Please sign in to leave a comment.