sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/engine/RunResults.java
author Matti Laitinen <matti.t.laitinen@nokia.com>
Wed, 21 Apr 2010 19:42:48 +0300
changeset 6 f65f740e69f9
parent 1 1050670c6980
child 15 0367d2db2c06
permissions -rw-r--r--
AnalyzeTool Carbide Extension v1.9.0

/*
 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:  Definitions for the class RunResults
 *
 */

package com.nokia.s60tools.analyzetool.engine;

import java.util.AbstractList;
import java.util.ArrayList;


/**
 * Stores one run related results (these results are created to link multiple
 * xml results file).
 *
 * @author kihe
 *
 */
public class RunResults extends ResultsBase {

	/** Run subtests. */
	private final AbstractList<Subtest> subtests;

	/**
	 * Constructor.
	 *
	 * @param newRunID
	 *            Run ID
	 */
	public RunResults(final int newRunID) {
		super(newRunID);
		subtests = new ArrayList<Subtest>();
	}

	/**
	 * Adds new subtest to existing subtest list.
	 *
	 * @param subtest
	 *            Subtest
	 */
	public final void addSubtest(final Subtest subtest) {
		subtests.add(subtest);
	}

	/**
	 * Gets used data file name.
	 *
	 * @return Used data file
	 */
	/*public final String getDataFileName() {
		return usedDataFile;
	}*/

	/**
	 * Gets current run Subtests.
	 *
	 * @return Subtests
	 */
	public final AbstractList<Subtest> getSubtest() {
		return subtests;
	}

	/**
	 * Sets used data file name.
	 *
	 * @param newDataFileName Used data file name and path
	 */
	/*public final void setDataFileName(final String newDataFileName) {
		usedDataFile = newDataFileName;
	}*/

}