IRemoteCommandVisitor.java revision 1b885c7bc666c215c3947ad4d12099273a5f533f
1/*******************************************************************************
2 * Copyright (c) 2009, 2010 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
14/**
15 * Interface for remote commands to a coverage runtime.
16 *
17 * @author Marc R. Hoffmann
18 * @version $qualified.bundle.version$
19 */
20public interface IRemoteCommandVisitor {
21
22	/**
23	 * Requests a execution data dump with an optional reset.
24	 *
25	 * @param dump
26	 *            <code>true</code> if the dump should be executed
27	 * @param reset
28	 *            <code>true</code> if the reset should be executed
29	 */
30	public void visitDumpCommand(final boolean dump, final boolean reset);
31
32}
33