blob: ae8e313d3cde22af3212bb7fe74ca243f9c86ad1 [file] [log] [blame]
/*******************************************************************************
* 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.jdi.tests;
import com.sun.jdi.VirtualMachine;
/**
* This class allows to hold on information about the VM
* that we don't want to loose between 2 tests.
*/
public class VMInformation {
VirtualMachine fVM;
Process fLaunchedVM;
EventReader fEventReader;
AbstractReader fConsoleReader;
String fVMType;
/**
* Creates a new VMInformation for the given vm, vm type, launched vm, event reader and console reader.
*/
VMInformation(VirtualMachine vm, String vmType, Process launchedVM, EventReader eventReader, AbstractReader consoleReader) {
fVM = vm;
fLaunchedVM = launchedVM;
fEventReader = eventReader;
fConsoleReader = consoleReader;
fVMType = vmType;
}
}