blob: 8f77cc1a1e4f5f7cd63998fa76aaeb4b20cdb4f3 [file] [log] [blame]
/*
*(c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.core.model;
import org.eclipse.debug.core.DebugException;
/**
* Provides the ability to restart a debug target.
*
*/
public interface IRestart
{
/**
* Returns whether this element can currently be restarted.
*
* @return whether this element can currently be restarted
*/
public boolean canRestart();
/**
* Causes this element to restart its execution.
*
* @exception DebugException on failure. Reasons include:
*/
public void restart() throws DebugException;
}