blob: b7165698171a55c25ad3e7e4184c3a5584324b79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*******************************************************************************
* Copyright (c) 2012 Boeing.
* 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:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.coverage.vcast;
import org.eclipse.osee.coverage.internal.vcast.operations.VCastAdaCoverage_V5_3_ImportOperation;
import org.eclipse.osee.coverage.internal.vcast.operations.VCastAdaCoverage_V6_0_ImportOperation;
import org.eclipse.osee.coverage.model.CoverageImport;
import org.eclipse.osee.framework.core.operation.IOperation;
import org.eclipse.osee.framework.core.util.Conditions;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
/**
* @author Roberto E. Escobar
*/
public class CoverageImportFactory {
private CoverageImportFactory() {
// Static Factory
}
public static IOperation createAdaVCast53ImportOp(CoverageImportData params, CoverageImport coverageImport) throws OseeCoreException {
Conditions.checkNotNull(params, "params");
Conditions.checkNotNull(coverageImport, "coverageImport");
return new VCastAdaCoverage_V5_3_ImportOperation(params, coverageImport);
}
public static IOperation createAdaVCast60ImportOp(VCast60Params params, CoverageImport coverageImport) throws OseeCoreException {
Conditions.checkNotNull(params, "params");
Conditions.checkNotNull(coverageImport, "coverageImport");
return new VCastAdaCoverage_V6_0_ImportOperation(params, coverageImport);
}
}
|