| /******************************************************************************* |
| * Copyright (c) 2009, 2019 Xored Software Inc 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 |
| * https://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * Xored Software Inc - initial API and implementation and/or initial documentation |
| *******************************************************************************/ |
| package org.eclipse.rcptt.core; |
| |
| import org.eclipse.core.runtime.CoreException; |
| import org.eclipse.core.runtime.IProgressMonitor; |
| import org.eclipse.core.runtime.IStatus; |
| import org.eclipse.emf.ecore.resource.Resource; |
| |
| import org.eclipse.rcptt.core.model.IQ7NamedElement; |
| import org.eclipse.rcptt.core.model.IVerification; |
| import org.eclipse.rcptt.core.model.ModelException; |
| import org.eclipse.rcptt.core.scenario.Verification; |
| |
| public interface IVerificationMaker { |
| |
| public Verification create(Resource resource, VerificationType type, String name); |
| |
| public IStatus validate(Verification verification); |
| |
| public void makeExecutable(Verification verification, IQ7NamedElement source) |
| throws ModelException; |
| |
| public void captureContents(IVerification verification, Verification data, |
| IProgressMonitor monitor) throws CoreException; |
| |
| public boolean canMake(); |
| } |