blob: fd7c02d500959a1ac5c965395a59cbfa8aff9879 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.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.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest;
import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
* {@link SuspendRequest} impl
*
* @since 1.0
*/
public class SuspendReqImpl extends EventReqImpl implements SuspendRequest {
private ThreadReference thread = null;
/**
* Constructor
* @param vm
* @param thread
* @param enabled
*/
public SuspendReqImpl(VMImpl vm, ThreadReference thread, boolean enabled) {
super(vm, enabled);
this.thread = thread;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest#thread()
*/
public ThreadReference thread() {
return thread;
}
}