diff options
Diffstat (limited to 'org.jacoco.agent.rt/src/org/jacoco/agent/rt/controller/IAgentController.java')
-rw-r--r-- | org.jacoco.agent.rt/src/org/jacoco/agent/rt/controller/IAgentController.java | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/org.jacoco.agent.rt/src/org/jacoco/agent/rt/controller/IAgentController.java b/org.jacoco.agent.rt/src/org/jacoco/agent/rt/controller/IAgentController.java index 77f4df2f..c8dde9fa 100644 --- a/org.jacoco.agent.rt/src/org/jacoco/agent/rt/controller/IAgentController.java +++ b/org.jacoco.agent.rt/src/org/jacoco/agent/rt/controller/IAgentController.java @@ -1,54 +1,54 @@ -/*******************************************************************************
- * Copyright (c) 2009, 2012 Mountainminds GmbH & Co. KG and Contributors
- * 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:
- * Brock Janiczak - initial API and implementation
- *
- *******************************************************************************/
-package org.jacoco.agent.rt.controller;
-
-import org.jacoco.core.runtime.AgentOptions;
-import org.jacoco.core.runtime.IRuntime;
-
-/**
- * Common interface for different implementations that control execution data
- * dumps.
- */
-public interface IAgentController {
-
- /**
- * Configure the agent controller with the supplied options and connect it
- * to the coverage runtime
- *
- * @param options
- * Options used to configure the agent controller
- * @param runtime
- * Coverage runtime this agent controller will be connected to
- * @throws Exception
- * in case startup fails
- */
- public void startup(final AgentOptions options, final IRuntime runtime)
- throws Exception;
-
- /**
- * Shutdown the agent controller and clean up any resources it has created.
- *
- * @throws Exception
- * in case shutdown fails
- */
- public void shutdown() throws Exception;
-
- /**
- * Write all execution data in the runtime to a location determined by the
- * agent controller. This method should only be called by the Agent
- *
- * @throws Exception
- * in case writing fails
- */
- public void writeExecutionData() throws Exception;
-
-}
+/******************************************************************************* + * Copyright (c) 2009, 2012 Mountainminds GmbH & Co. KG and Contributors + * 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: + * Brock Janiczak - initial API and implementation + * + *******************************************************************************/ +package org.jacoco.agent.rt.controller; + +import org.jacoco.core.runtime.AgentOptions; +import org.jacoco.core.runtime.IRuntime; + +/** + * Common interface for different implementations that control execution data + * dumps. + */ +public interface IAgentController { + + /** + * Configure the agent controller with the supplied options and connect it + * to the coverage runtime + * + * @param options + * Options used to configure the agent controller + * @param runtime + * Coverage runtime this agent controller will be connected to + * @throws Exception + * in case startup fails + */ + public void startup(final AgentOptions options, final IRuntime runtime) + throws Exception; + + /** + * Shutdown the agent controller and clean up any resources it has created. + * + * @throws Exception + * in case shutdown fails + */ + public void shutdown() throws Exception; + + /** + * Write all execution data in the runtime to a location determined by the + * agent controller. This method should only be called by the Agent + * + * @throws Exception + * in case writing fails + */ + public void writeExecutionData() throws Exception; + +} |