| /******************************************************************************* |
| * Copyright (c) 2015 Willink Transformations and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * E.D.Willink - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.qvtd.cs2as.compiler; |
| |
| import org.eclipse.emf.common.util.URI; |
| import org.eclipse.emf.ecore.resource.ResourceSet; |
| import org.eclipse.jdt.annotation.NonNull; |
| import org.eclipse.jdt.annotation.Nullable; |
| import org.eclipse.ocl.xtext.base.cs2as.tx.CS2ASTransformer; |
| |
| public interface OCL2JavaTxCompiler<P extends OCL2JavaTxCompilerParams> { |
| |
| public Class<? extends CS2ASTransformer> compileTransformation(@NonNull URI oclFileURI, @NonNull P params, @Nullable ResourceSet rset) throws Exception; |
| |
| // FIXME use better options/params |
| public Class<? extends CS2ASTransformer> compileTransformation(@NonNull URI oclFileURI, @NonNull P params, @Nullable ResourceSet rset, @NonNull String tracePropName) throws Exception; |
| } |