Commit | Line | Data |
---|---|---|
60fb38b8 | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2013, 2014 Ericsson, Ecole Polytechnique de Montreal and others |
60fb38b8 PT |
3 | * |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * 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 | |
8 | * | |
9 | * Contributors: | |
10 | * Ansgar Radermacher - support for model URI | |
11 | * Patrick Tasse - context strings | |
12 | *******************************************************************************/ | |
13 | ||
2bdf0193 | 14 | package org.eclipse.tracecompass.tmf.ctf.core; |
60fb38b8 | 15 | |
6fd3c6e9 MAL |
16 | import org.eclipse.core.runtime.QualifiedName; |
17 | ||
60fb38b8 PT |
18 | /** |
19 | * Set of constants used by the CTF adaptor classes | |
20 | * | |
6fd3c6e9 | 21 | * @noimplement This interface is not intended to be implemented by clients. |
60fb38b8 PT |
22 | */ |
23 | @SuppressWarnings("nls") | |
24 | public interface CtfConstants { | |
25 | ||
26 | /* | |
27 | * Context strings | |
28 | */ | |
29 | ||
30 | /** Prefix for context information stored as CtfTmfEventfield */ | |
31 | public static final String CONTEXT_FIELD_PREFIX = "context."; | |
32 | ||
33 | /** Key for ip field */ | |
34 | public static final String IP_KEY = "_ip"; | |
35 | ||
36 | /* | |
37 | * Custom attributes names (key within hash table) | |
38 | */ | |
39 | ||
40 | /** Model URI for traces related to EMF models */ | |
6fd3c6e9 MAL |
41 | public final String MODEL_URI_KEY = "model.emf.uri"; |
42 | ||
43 | /** | |
44 | * The host persistent property for the live session. | |
6fd3c6e9 MAL |
45 | */ |
46 | QualifiedName LIVE_HOST = new QualifiedName("org.eclipse.linuxtools.tmf.ctf.core", "live.host"); //$NON-NLS-1$//$NON-NLS-2$ | |
47 | ||
48 | /** | |
49 | * The port persistent property for the live session. | |
6fd3c6e9 MAL |
50 | */ |
51 | QualifiedName LIVE_PORT = new QualifiedName("org.eclipse.linuxtools.tmf.ctf.core", "live.port"); //$NON-NLS-1$//$NON-NLS-2$ | |
52 | ||
53 | /** | |
54 | * The live session name persistent property. | |
6fd3c6e9 MAL |
55 | */ |
56 | QualifiedName LIVE_SESSION_NAME = new QualifiedName("org.eclipse.linuxtools.tmf.ctf.core", "live.session.name"); //$NON-NLS-1$//$NON-NLS-2$; | |
60fb38b8 | 57 | } |