IRemoteCommandVisitor.java revision a6d2b043f09984e3f2fe77e9f7502564350055f6
1/*******************************************************************************
2 * Copyright (c) 2009, 2016 Mountainminds GmbH & Co. KG and Contributors
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *    Marc R. Hoffmann - initial API and implementation
10 *
11 *******************************************************************************/
12package org.jacoco.core.runtime;
13
14import java.io.IOException;
15
16/**
17 * Interface for remote commands to a coverage runtime.
18 */
19public interface IRemoteCommandVisitor {
20
21	/**
22	 * Requests a execution data dump with an optional reset.
23	 *
24	 * @param dump
25	 *            <code>true</code> if the dump should be executed
26	 * @param reset
27	 *            <code>true</code> if the reset should be executed
28	 * @throws IOException
29	 *             in case of problems with the remote connection
30	 */
31	public void visitDumpCommand(final boolean dump, final boolean reset)
32			throws IOException;
33
34}
35