01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.debug.jdi.tests;
11:
12: import com.sun.jdi.VirtualMachine;
13:
14: /**
15: * This class allows to hold on information about the VM
16: * that we don't want to loose between 2 tests.
17: */
18: public class VMInformation {
19: VirtualMachine fVM;
20: Process fLaunchedVM;
21: EventReader fEventReader;
22: AbstractReader fConsoleReader;
23: String fVMType;
24:
25: /**
26: * Creates a new VMInformation for the given vm, vm type, launched vm, event reader and console reader.
27: */
28: VMInformation(VirtualMachine vm, String vmType, Process launchedVM,
29: EventReader eventReader, AbstractReader consoleReader) {
30: fVM = vm;
31: fLaunchedVM = launchedVM;
32: fEventReader = eventReader;
33: fConsoleReader = consoleReader;
34: fVMType = vmType;
35: }
36: }
|