blob: e79057361a373da055f01203697aea001a350aab [file] [log] [blame]
package templates.m2m.sw
import com.inchron.realtime.root.model.Component
import org.eclipse.app4mc.amalthea.model.Task
import templates.AbstractAmaltheaInchronTransformer
import templates.utils.AmltCacheModel
class TaskTransformer extends AbstractAmaltheaInchronTransformer {
var AmltCacheModel cacheModel
def create inchronModelFactory.createProcess createProcess(Task amltTask, Component inchronComponent) {
cacheModel = customObjsStore.getInstance(AmltCacheModel)
cacheModel.addAmltProcess_InchronComponent(amltTask, inchronComponent)
it.name = amltTask.name
}
}