diff options
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java')
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java deleted file mode 100644 index 9ffe269e1..000000000 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.debug.core.model; - - -import org.eclipse.debug.core.DebugException; - -/** - * Provides the ability to suspend and resume a thread - * or debug target. - * <p> - * Clients may implement this interface. - * </p> - */ -public interface ISuspendResume { - /** - * Returns whether this element can currently be resumed. - * - * @return whether this element can currently be resumed - */ - public boolean canResume(); - /** - * Returns whether this element can currently be suspended. - * - * @return whether this element can currently be suspended - */ - public boolean canSuspend(); - /** - * Returns whether this element is currently suspended. - * - * @return whether this element is currently suspended - */ - public boolean isSuspended(); - /** - * Causes this element to resume its execution, generating a <code>RESUME</code> event. - * Has no effect on an element that is not suspended. This call is non-blocking. - * - * @exception DebugException on failure. Reasons include:<ul> - * <li>TARGET_REQUEST_FAILED - The request failed in the target - * <li>NOT_SUPPORTED - The capability is not supported by the target - * </ul> - */ - public void resume() throws DebugException; - /** - * Causes this element to suspend its execution, generating a <code>SUSPEND</code> event. - * Has no effect on an already suspended element. - * Implementations may be blocking or non-blocking. - * - * @exception DebugException on failure. Reasons include:<ul> - * <li>TARGET_REQUEST_FAILED - The request failed in the target - * <li>NOT_SUPPORTED - The capability is not supported by the target - * </ul> - */ - public void suspend() throws DebugException; -} |