1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.trace
;
15 import org
.eclipse
.core
.runtime
.Status
;
18 * A class representing the validation status of a trace against a particular
23 public class TraceValidationStatus
extends Status
{
25 private int fConfidence
;
28 * Construct a successful validation status with a confidence level
30 * @param confidence the confidence level, 0 is lowest
31 * @param pluginId the unique identifier of the relevant plug-in
33 public TraceValidationStatus(int confidence
, String pluginId
) {
34 super(OK
, pluginId
, OK_STATUS
.getMessage());
36 throw new IllegalArgumentException();
38 fConfidence
= confidence
;
42 * Gets the confidence level
44 * @return the confidence level, 0 is lowest
46 public int getConfidence() {
This page took 0.031365 seconds and 5 git commands to generate.